#35 alphanumeric ordering of covers in library

open
nobody
None
5
2009-09-29
2009-09-29
Karl Ostmo
No

Fixes library view in the same way as this patch (non-lexographic sort): https://sourceforge.net/tracker/?func=detail&aid=2811656&group_id=146377&atid=764987

I wasn't able to use the alphanumeric_sort() function, since it only operates on a list of strings. It so happens that LooseVersion from distutils peforms the same kind of sort (batteries are definitely included in Python!), so I used that instead.

Discussion

  • Karl Ostmo
    Karl Ostmo
    2009-09-29

    apply with "patch -p0 < libary.py.patch" from trunk/

     
    Attachments
  • Karl Ostmo
    Karl Ostmo
    2009-09-29

    better patch (fixes both BookArea and CollectionArea)

     
    Attachments