On Saturday, April 6, 2019 at 3:41:50 PM UTC-4, João Matos wrote: > > Thanks Anthony. I will open an issue (I still haven't enough know how to > make a PR). I hope some time in the future. > > I don't want to abuse your help, but I have another issue that is viewable > with the minimal app I sent you. > If you create 2 records with different dates, and try to change the grid's > sort order you will notice that the URL changes, the page reloads but the > grid doesn't change. > I checked the db stats SQL statements and they stay the same (they don't > change the ORDER). > I think there is a bug with the sorting of date columns when they are the > predefined orderby. Can you try it and give me your input. >
Definitely a bug -- feel free to report on Github. May have to do with the fact that when clicking to sort, the grid code inverts the order for date/time fields, but does not appear to do so when a date/time field is specified in the orderby argument. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.