Message7545
> The code that I've just fixed seems to be used only in the web-interface
> presumably when displaying menus or something like it. It's still not
> clear to me why the code doesn't retrieve things sorted via the database
> interface and does the sorting in python.
The change I did was for the sorted() method in templating for a MultilinkHTMLProperty.
It appears that this level of sorting is done in the hyperdb (see sort_repr methods).
My guess is it's a holdover from the anydbm key/value store not having a
native sort method. Also since id's are stored as strings, but sorted as integers, we
can't use rdbms native sorting on that field. |
|
Date |
User |
Action |
Args |
2022-05-31 02:07:20 | rouilj | set | messageid: <1653962840.14.0.345308259058.issue2551207@roundup.psfhosted.org> |
2022-05-31 02:07:20 | rouilj | set | recipients:
+ rouilj, schlatterbeck |
2022-05-31 02:07:20 | rouilj | link | issue2551207 messages |
2022-05-31 02:07:20 | rouilj | create | |
|