[Koha-bugs] [Bug 27734] OpacHiddenItems produces a 404 from borrower holds list
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 15 14:13:12 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27734
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #121988|0 |1
is obsolete| |
--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 121989
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121989&action=edit
Bug 27734: Add OpacHiddenRecordRedirect and OpacHiddenRecordMessage system
preferences
This patch adds options analogous to OpacSuppressionRedirect and
OpacSuppressionMessage for OpacHiddtenItems
Test plan:
1 - Apply patch
2 - Test OpacSupressionsRedirect and OpacSuppressionMessage prefs to ensure
they work as before
3 - Enable OpacHiddenItemsHidesRecord and hide a biblio using OpacHiddenItems:
biblionumber: [303]
3 - Test OpacHiddenRecordRedirect and OpacHiddenRecordMessage to ensure they
work as expected
4 - Hit the link:
http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=303
5 - When OpacHiddenRecordRedirect set to 404 you get a 404
6 - When OpacHiddenRecordRedirect set to 'an explanatory page' you get
'opac-blocked.pl'
7 - If you set a message in OpacHiddenRecordMessage it displays on
opac-blocked.pl
Signed-off-by: marti <mfuerst at hmcpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list