Thank you for the feedback Anthony.
That was my thinking but I was hoping to be wrong.

Any idea where in the web2py code is the grid sorting? I would like to take 
a look.


domingo, 7 de Abril de 2019 às 19:22:34 UTC+1, Anthony escreveu:
>
> 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.

Reply via email to