Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Sorting by name in the shelf is case sensitive #4341

Closed
cdrfun opened this issue Jun 23, 2023 · 1 comment
Closed

Sorting by name in the shelf is case sensitive #4341

cdrfun opened this issue Jun 23, 2023 · 1 comment
Labels
Milestone

Comments

@cdrfun
Copy link

cdrfun commented Jun 23, 2023

Describe the Bug

I have four books in a shelve: aa, ab, BB, BC

After sorting by name I get:

  • BB
  • BC
  • aa
  • ab

Steps to Reproduce

Create books as described and sort them by name.

Expected Behaviour

I'd expect to get a case insensitive sort:

  • aa
  • ab
  • BB
  • BC

Screenshots or Additional Context

grafik

Browser Details

No response

Exact BookStack Version

v23.05

PHP Version

No response

Hosting Environment

linuxserver.io Docker

@ssddanbrown ssddanbrown added this to the Next Feature Release milestone Jun 23, 2023
ssddanbrown added a commit that referenced this issue Jun 23, 2023
Fixes issue where sorting would not match other database-sorted parts of
app due to case sensitivity differences.
Added test to cover.

For #4341
@ssddanbrown
Copy link
Member

Thanks for raising @cdrfun.
Could confirm this, was due to differences in how sorting was handled.
I've addressed this in 9ae17ef, which will be part of the next feature release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants