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 Veron <veron@veron.ch> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mason James <mtj@kohaaloha.com> |
||
|---|---|---|
| .. | ||
| searchengine/solr | ||
| admin-home.pl | ||
| aqbudget_user_search.pl | ||
| aqbudgetperiods.pl | ||
| aqbudgets.pl | ||
| aqcontract.pl | ||
| aqplan.pl | ||
| auth_subfields_structure.pl | ||
| auth_tag_structure.pl | ||
| authorised_values.pl | ||
| authtypes.pl | ||
| biblio_framework.pl | ||
| branch_transfer_limits.pl | ||
| branches.pl | ||
| categorie.pl | ||
| check_budget_parent.pl | ||
| check_parent_total.pl | ||
| checkmarc.pl | ||
| cities.pl | ||
| classsources.pl | ||
| clone-rules.pl | ||
| currency.pl | ||
| didyoumean.pl | ||
| env_tz_test.pl | ||
| fieldmapping.pl | ||
| import_export_framework.pl | ||
| item_circulation_alerts.pl | ||
| itemtypes.pl | ||
| koha2marclinks.pl | ||
| marc_subfields_structure.pl | ||
| marctagstructure.pl | ||
| matching-rules.pl | ||
| oai_set_mappings.pl | ||
| oai_sets.pl | ||
| patron-attr-types.pl | ||
| preferences.pl | ||
| printers.pl | ||
| smart-rules.pl | ||
| stopwords.pl | ||
| systempreferences.pl | ||
| transport-cost-matrix.pl | ||
| z3950servers.pl | ||