Bug 766: Remove CGI::scrollinglist from authorised_values.pl
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sat, 19 Jul 2014 03:22:12 +0000 (00:22 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 13 Aug 2014 13:11:11 +0000 (10:11 -0300)
commit5b72546ffbb564bece5097e40ce44a91c7b944f8
treee696647b9c8b58e6fb1a4888be7063f919c3f2e9
parent1b25d910ae7e59428876b18394e7d549c25006a3
Bug 766: Remove CGI::scrollinglist from authorised_values.pl

This patch removes the only instance in this file.
Also fixes array sorting, removes some tabs, removes
an unneeded $dbh handler (there is a global one).
Makes use of C4::Koha::GetAuthorisedValueCategories.

To test:
1. Apply the patch
2. Go to Administration > Authorised values
3. Replaced pulldown next to 'Show category' must
show all (present & system) categories correctly ordered.
4. Select some and check for regressions, e.g. CCODE, Bsort2, YES_NO
no changes must be observed

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, no problems found.
Passes tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
admin/authorised_values.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt