Skip to content

Improved minutes list and gallery list views ordering

Sivert Olstad requested to merge ok-i-admit-that-this-is-a-better-ordering into main

I admit that ordering the minutes list and the gallery list views by date is better ordering than created and latest image uploaded. This PR fixes that. Each gallery on the gallery list view now show pictures from the start of the album, instead of from the end. I think this is more natural when the view is ordered by date.

Also fixes a bug in assertModelOrdering - existing model instances caused the function to malfunction. The fix is to simply delete all model instances before asserting.

Edited by Sivert Olstad

Merge request reports