When you want to place a hold on a document (reserve/request.pl), pickup library shows a list of Libraries order by code rather than by name.
This patch reorder this list
Created attachment 8593 [details] [review]
Order the pickup library list by name
I tried to replicate the problem on the holds page in staff and in the OPAC. In both places my branches appeared in alphabetical order. Can you give me a hint where or in which case the order is wrong?
Created attachment 10046 [details] [review]
[SIGNED-OFF] Bug 7815 : Order pickup libraries list by name rather than by code
Signed-off-by: Marijana Glavica <firstname.lastname@example.org>
(In reply to comment #2)
> Hi Sophie,
> I tried to replicate the problem on the holds page in staff and in the OPAC.
> In both places my branches appeared in alphabetical order. Can you give me a
> hint where or in which case the order is wrong?
In order to reproduce this problem, the order of code must differ from the order of descriptions.
X library street X
A that is another library
Before the patch, A appears before X (and if you've 20+ libraries, you'll face pain to find the one you want !), after the patch, it's ordered by description
QA comment: tiny patch, sorting a hash, passed QA
more a bugfix than an ENH, worth porting on 3.8 even if minor
Pushed to 3.8.x, will be in 3.8.2