[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
Fri Sep 1 13:19:33 CEST 2017


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66309|0                           |1
        is obsolete|                            |
  Attachment #66310|0                           |1
        is obsolete|                            |
  Attachment #66311|0                           |1
        is obsolete|                            |
  Attachment #66312|0                           |1
        is obsolete|                            |

--- Comment #18 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 66708
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66708&action=edit
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>

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list