[Koha-bugs] [Bug 18811] Visibility settings inconsistent between framework and authority editor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 22 12:20:11 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18811

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #64570|0                           |1
        is obsolete|                            |
  Attachment #64571|0                           |1
        is obsolete|                            |
  Attachment #64572|0                           |1
        is obsolete|                            |
  Attachment #64573|0                           |1
        is obsolete|                            |

--- Comment #14 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 66309
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66309&action=edit
[SIGNED-OFF] Bug 18811: Change visibility checks in authorities.pl

The check is now <=-4 or >=5, but the framework uses 0 for Show all and
-5 for Hide all. (Note that sql installer scripts also use 8.)
When modifying an authority, the script also showed hidden fields when
filled, since it did not check the hidden field but only the tab field.

NOTE: The proposed solution restores consistency, but will remove hidden
fields from the MARC record.

Test plan:
[1] Set field 942a to Show all in an authority framework.
[2] Open a new record in this framework and verify that you see 942a.
[3] Edit an existing record in this framework and verify again.
[4] Set field 942a now to Hide all in this framework.
[5] Open a new record in this framework and verify that 942a is hidden.
[6] Edit an existing record in this framework and verify again.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list