]> git.koha-community.org Git - koha.git/commit
Bug 15669: Alphabetize marc modification templates
authorNick Clemens <nick@bywatersolutions.com>
Thu, 18 Feb 2016 16:40:47 +0000 (16:40 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 3 Mar 2016 22:11:44 +0000 (22:11 +0000)
commit771e63f5bf220db3f5f3de895242a98cebd26553
tree558ad56718ebe9365b7aeca68786ef5402d24934
parent7721a7b8d2883c2e864eb672ebbef792450e91ff
 Bug 15669: Alphabetize marc modification templates

This patch sorts the modification templates when getting them from the
database  This affects the pages below:

  tools/batch_record_modification.pl
  tools/marc_modification.pl
  tools/stage-marc-import.pl

To test:

1 - Add some marc modification templates in a non alpha order (Shoes,
    Hats, Cats)
2 - visit the pages above and note the templates are in order
    added
3 - apply patch
4 - visit the three pages and note correct order
5 - verify all tools continue to work as expected

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/MarcModificationTemplates.pm