Improve sort order of groups in search results (sort by last activity and not by creation date)
Edit 22/10/2024 After technical analyse, currently the group are not sorted, in spite of sorting possibilities offered in the user interface (best match, most members...)
What we implement in this issue is to restore sorting possibility based on recent group activity.. By default it should show the newest first.
Before development: groups are created based on creation date (oldest first) and in spite of sorting options shown in the user interface this order can not be changed:
After development: Events default sort order is based on latest event published and shows the most recent ones first. Other sorting options are available
Edit 2024 - 10 - 18
A drop down indicates we can sort groups by "best match" or by "number of members".
But whatever value is selected, the result is that the groups are sorted by number of members (most numbers shown first).
Proposed implementation: replace "best match" by "last update" sort by default by "last update".
Test cases:
-I land on the group page, I see groups with last update first
-I change the sort value to "number of members", then groups with most members should be shown first
**Old description**
It is currently pretty difficult to find active groups in one's town:
- When selecting a town for the location, for instance "Nantes", the groups are listed by creation date and not according to whether there are still active or not (some groups listed at the top haven't published any event since 2020) : https://mobilizon.fr/search?locationName=Nantes&lat=47.228973&lon=-1.554004&search=
It would be more interesting to list them from top to bottom according to the date of the last published event (from more recent to oldest one)., and maybe the groups that haven't been active for more than an year should be shown only if clicking "Show less active groups"?