okfde / froide

Freedom Of Information Portal
MIT License
357 stars 86 forks source link

Filing cabinet / document collection: Wrong (lexical) sort order for document groups #541

Closed jfowl closed 2 years ago

jfowl commented 2 years ago

I would expect the list to be sorted from 1 to 20, instead of 10 – 20 and then 1 – 9.

Example from https://fragdenstaat.de/dokumente/sammlung/47-bundestag-untersuchungsausschusse-1-bis-20-wahlperiode/:

image

Might be an issue in https://github.com/okfde/django-filingcabinet, so feel free to move it there.

stefanw commented 2 years ago

Import order is by lexical name, fixed it manually by reordering the directory tree.