[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
Fri May 7 21:00:05 CEST 2021


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

Phil Ringnalda <phil at chetcolibrary.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #120213|0                           |1
        is obsolete|                            |

--- Comment #11 from Phil Ringnalda <phil at chetcolibrary.org> ---
Created attachment 120719
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120719&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

Signed-off-by: Phil Ringnalda <phil at chetcolibrary.org>

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


More information about the Koha-bugs mailing list