[Koha-bugs] [Bug 13401] sort branches alphabetically in admin/authorised_values.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Dec 6 15:50:55 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13401

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 34164
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34164&action=edit
[Signed-off] Bug 13401 - sort branches alphabetically in
admin/authorised_values.pl

This patch adds a sort of branches alphabetically by name in authorised values
administration, like in many other pages.

Also replaces var $branch (too ambigus) by $branchcode.

Test plan :
- Create 2 branches : code=AAA,name=Zbranch and code=ZZZ,name=Abranch
- Create a new authorized value : admin/authorised_values.pl
- Look at "Libraries limitation" :
=> Without patch branches are sorted by code : Zbranch then Abranch
=> Without patch branches are sorted by name : Abranch then Zbranch
- Select a branch and save
- Re-edit
=> Check the same branch is selected

Followed test plan. Patch behaves as expected.
Signed-off-by: Marc Véron <veron at veron.ch>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list