Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Sorting page "A to Z" don't order correctly numbers 1, 10, 11, 12, ..., 2, 3, 4..., 9 #1447

Closed
Thatoo opened this issue Aug 26, 2024 · 0 comments · Fixed by #1459
Closed
Labels
bug Something isn't working

Comments

@Thatoo
Copy link

Thatoo commented Aug 26, 2024

Describe the bug
To ensure the way we want page to be sorted, we add number to their title to have something like :

1. title1
  1.1 title 1.1
  1.2 title 1.2
  1.3 title 1.3
2. title 2
  2.1 title 2.1
  2.2 title 2.2
3. title 3
4. ....
....
10. title 10
11. title 11
....
19. title 19

but we get in result soemthing like

1. title1
  1.1 title 1.1
  1.2 title 1.2
  1.3 title 1.3
10. title 10
11. title 11
12. title 12
....
19. title 19
2. title 2
  2.1 title 2.1
  2.2 title 2.2
3. title 3
4. ....

To Reproduce
Steps to reproduce the behavior:

  1. Go to Collectives
  2. Writes pages and subpages using classical ordered/numbered list
  3. set oredring A to Z
  4. see wrong ordering made by collectives.

Expected behavior
Collectives should order pages respecting ordered/numbered list pages

Screenshots
image

Server details:

  • Collectives app version: 2.14.2
  • Nextcloud version: 29.0.5
  • PHP Version: 8.3.10
  • Database: MariaDB 10.5.23

Client details:

  • OS: NixOS 24.05
  • Browser: Firefox
  • Browser version: 129.0.2
  • Device: Computer
@Thatoo Thatoo added the bug Something isn't working label Aug 26, 2024
@nextcloud nextcloud deleted a comment Aug 26, 2024
mejo- added a commit that referenced this issue Sep 4, 2024
Fixes: #1447

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Sep 4, 2024
Fixes: #1447

Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- closed this as completed in df90a98 Sep 4, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@Thatoo and others