Bug 11416: fix case where serials item editor was incorrectly hiding fields
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 18 Dec 2013 13:37:40 +0000 (08:37 -0500)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 13 Aug 2014 14:39:14 +0000 (10:39 -0400)
commita5d366ab598ef85fefb292880a53ce89bdc10a75
treecb3c89423bbaa20d07ae9259a30cdcbaf509208c
parent0f02ea6d0862c8751388bea2e1b5aa733da489ae
Bug 11416: fix case where serials item editor was incorrectly hiding fields

In serials/serials-edit.pl, if an item field is hidden from the OPAC,
it will not display in the editor, even if the field is marked as
visible in the staff intranet and editor. However, the field is still
displayed correctly in the items editor ( additem.pl ).:

Test Plan:
1) Select an item-level field ( e.g. non-public note )
2) Create a serial using the default framework ( or one of your choice )
3) For that framework, mark the chosen field as visible from the
intranet and editor, but not the opac.
4) Receive an item for this serial, note your field does not display
5) Use the biblio item editor to add an item ( additem.pl ), not the
field displayes
6) Apply this patch
7) Repeat step 4, not the field displayes

Signed-off-by: Kim Schwant <kim.schwant@courts.in.gov>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
PrepareItemrecordDisplay is only used for editor (-4 < hidden < 4)

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit f14020780836c5fbc65331b3918b843761481c36)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 552e2d5ef0bab15536a730efc57eba3eb1f5c6b1)
C4/Items.pm