mirror of
https://github.com/gotson/komga.git
synced 2025-12-22 00:13:30 +01:00
fix(api): sort libraries case insensitive
This commit is contained in:
parent
8b593a66dd
commit
1650aec75b
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class LibraryController(
|
|||
libraryRepository.findAll()
|
||||
} else {
|
||||
libraryRepository.findAllById(principal.user.sharedLibrariesIds)
|
||||
}.sortedBy { it.name }.map { it.toDto(includeRoot = principal.user.roleAdmin) }
|
||||
}.sortedBy { it.name.toLowerCase() }.map { it.toDto(includeRoot = principal.user.roleAdmin) }
|
||||
|
||||
@GetMapping("{id}")
|
||||
fun getOne(
|
||||
|
|
|
|||
Loading…
Reference in a new issue