Volume sort numbers wrong

Bug #258816 reported by Alessandro Nakamuta
2
Affects Status Importance Assigned to Milestone
Griffith
Confirmed
Undecided
Unassigned

Bug Description

When we edit or create a new film, the volume combobox appears:
1 10 11 12 ... 19 2 20 21 ... 29 3 30 etc.

Revision history for this message
nagano.pl (nagano-pl) wrote :

i think i would sort volumes in human readable form if instead of writing value '1' to database griffith writes values'00001' ( zeros at the beginning of the value - something like zerofill in mysql but i dont know if sqlite has some kind function)

Revision history for this message
Piotr Ożarowski (piotr) wrote :

what if volume/collection name is not a number? (otherwise it would be easy to sort by simply casting to integer)

Changed in griffith:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.