Bug 12694: Remove CGI::scrolling_list from unimarc_field_4XX.pl
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sat, 2 Aug 2014 01:17:16 +0000 (22:17 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 19 Aug 2014 15:44:27 +0000 (12:44 -0300)
commit2f7fa17557e196368fab619fbc7a4b697aef5ed3
tree7b50177dbe5bc93e45e7912e55635dcb8d837f07
parentdeb22f01bb1161a79a3dc64fd768048521777994
Bug 12694: Remove CGI::scrolling_list from unimarc_field_4XX.pl

There are two instances on this file, but they are not used.
I suppose is old code that was left dangling.

Both scrolling_list, CGIPublisher and CGIitemtype, are not
used on unimarc_field_4XX.tt nor any other file.

Just removed from file two useless db queries.

To test:
1. Apply the patch
2. If you have unimarc config, just go to one of the
fields that use this plugin.
If you don't, can edit you framework and change the plugin
for a tag, e.g. 007. Then save fw, search and edit a record,
clic to open plugin on 007 tag, check that works but don't
save the original record, finally revert your changes.

There must be no functional changes, is unused code.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Verified plugin still seems to work:
- item type pull down shows up correctly
- search works and choosing a record will fill subfields
Passes tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
cataloguing/value_builder/unimarc_field_4XX.pl