Roundup Tracker - Issues

Message7545

Author rouilj
Recipients rouilj, schlatterbeck
Date 2022-05-31.02:07:19
Message-id <1653962840.14.0.345308259058.issue2551207@roundup.psfhosted.org>
In-reply-to
> 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.
History
Date User Action Args
2022-05-31 02:07:20rouiljsetmessageid: <1653962840.14.0.345308259058.issue2551207@roundup.psfhosted.org>
2022-05-31 02:07:20rouiljsetrecipients: + rouilj, schlatterbeck
2022-05-31 02:07:20rouiljlinkissue2551207 messages
2022-05-31 02:07:20rouiljcreate