Roundup Tracker - Issues

Issue 2551013

classification
Title: Reversed sorting in hyperdb property wrapper object's sorted() method
Type: rfe Severity: minor
Components: Web interface, Interface Versions: devel, 1.6
process
Status: new Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: davidsowder
Priority: Keywords: patch

Created on 2018-11-06 17:58 by davidsowder, last changed 2018-11-06 17:58 by davidsowder.

Files
File name Uploaded Description Edit Remove
templating.py.sorted_reverse.diff davidsowder, 2018-11-06 17:58
Messages
msg6296 Author: [hidden] (davidsowder) Date: 2018-11-06 17:58
Looking at the hyperdb project object wrapper methods, as described at
http://roundup.sourceforge.net/docs/customizing.html#hyperdb-property-wrapper,
there is a reverse() method and a sorted() method, but this
Roundup-hacking newbie didn't see a way to successfully combine both on
one object (if there is one, please enlighten me).

I have thus made a trivial change to my 1.6 installation to the sorted()
method to optionally return the items in reversed order.  I've attached
a diff of my changes, ported to the current development code, but
without testing.
History
Date User Action Args
2018-11-06 17:58:12davidsowdercreate