Bug 36908: Sort branches based on branchcode
authorNick Clemens <nick@bywatersolutions.com>
Tue, 21 May 2024 12:44:25 +0000 (12:44 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 23 May 2024 15:51:17 +0000 (17:51 +0200)
commit46cecfdd72ee45bfad03c6875fdc078df48eabec
treee94db5d6fe80520a9fa82b2de63fcecf32f44268
parent7e8803537254ec950c64327bece8091e6cf49499
Bug 36908: Sort branches based on branchcode

This adds a sort based on branchcode, it's a fallback for an edge case that should be rare
so I think is acceptable, as long as documented.

I added test coverage, but it may no longer be possible to encounter this scenario.

System preference descriptions are updated as well.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Auth.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
t/db_dependent/Auth.t