[Koha-bugs] [Bug 23406] Authorized Value for Suppression when added to Frameworks doesn't show Suppress in Staff Client
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 27 14:30:48 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23406
--- Comment #10 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 120213
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120213&action=edit
Bug 23406: Test for 1 or 'Yes' in record suppression
In marc21 we now link the 942$n to 'YES_NO' authorised values. When displaying
the details page in the staff client the authorised values in a record are
translated before parsing the record with XSLT
The '1' for YES_NO is translated to 'Yes' - we simply need to test for this
additional
value in the XSLT to ensure we display the suppression message
To test:
1 - Confirm 952$n in default framework is tied ot authorised value 'YES_NO' or
do so
2 - Set OpacSuppression to 'Hide'
3 - Edit a record in the default template, changing 942$n to 'Yes'
4 - Confirm the record is suppressed in opac
5 - Note there is no suppression notice in the record in staff client
6 - Apply patch
7 - Reload and confirm staff side shows suppression notice
8 - Confirm record still suppressed in OPAC
9 - Edit record, set 942$n to 'no'
10 - Confirm there is no suppression notice in staff client
11 - Confirm you can view the record in OPAC
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list