Closed michield closed 3 months ago
What is the problem with the current behaviour?
The ordering by category is needed so that when the subscribe page option "Display lists in labelled categories" is used the categories are displayed in ascending order. Without that they will be in an arbitrary order. Within each category the lists will be in ascending order of the order
field.
Here is an example
then just change the order field for one list and the order of showing the categories changes
Yes, but if you have this setting:
Category: A, Z
and lists A1 listorder 5 Z1 listorder 1
Then it'll list
Instead, you'd want it to be
I tested this, and it works fine if you take out the order by category
This is just a difference of expectation as I would expect the categories to be displayed in ascending alphabetical order. People might have named the categories with that in mind so this change might be be a surprise. The original issue is https://github.com/phpList/phplist3/pull/426
I think it makes more sense to allow control of the listing with the list order. We can mention it in the release notes, so that people are aware. All the examples in #426 have categories listed in alphabetical order. With this change you can achieve that, but you can also have a different order if you want to, so that makes it more flexible.
This pull request has been mentioned on phpList Discuss. There might be relevant details there:
https://discuss.phplist.org/t/3-6-15-release-candidate-is-available-for-testing/9473/1
This pull request has been mentioned on phpList Discuss. There might be relevant details there:
https://discuss.phplist.org/t/phplist-3-6-15-has-been-released/9495/1
Description
When listing lists grouped by category, still use the listorder for the order, and not the category
Related Issue
Screenshots (if appropriate):