Bug 12695: Remove CGI::scrolling_list from marc21_linking_section.pl
commitec2921b83b965420d021736ec1e6dc87436a2d22
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sat, 2 Aug 2014 01:49:35 +0000 (1 22:49 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 19 Aug 2014 12:41:37 +0000 (19 09:41 -0300)
treeae26eaf26d35bfe87d2edb409c7c20b4cf75973d
parent6144a9e157723e10c0c37967d086dbc3480cf8f1
Bug 12695: Remove CGI::scrolling_list from marc21_linking_section.pl

Same situation as Bug 12694.

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 marc21_linking_section.tt nor any other file.

Just removed from file two useless db queries.

To test:
1. Apply the patch
2. Can't remember how to trigger this plugin.
You 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: Owen Leonard <oleonard@myacpl.org>
Followed test plan successfully. The behavior of the plugin window
appears to be unchanged after applying the patch.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Amending the test plan a bit: The plugin was added by bug 8185
- not dead code at all :)

In order to test:
- Edit one of your frameworks, make 773 atwxz9 visible.
- Link 773 $9 to the marc21-linking-section plugin
- Create a new record in cataloguing
- Search for a your host item record (parent)
- Link it
- Observe that the subfields have been filled with information
  from the other record
  $w = 001 from the parent
  $9 = biblionumber from the parent
  $t = Title
  $x = ISSN
  ...

Still works with the patch applied.

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