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

--- Comment #17 from Roman Dolny <[email protected]> ---
Created attachment 175808
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175808&action=edit
Bug 27734: Replace OpacHiddenRecordMessage system preference with HTML
customization

This patch replaces OpacHiddenRecordMessage preference with an HTML
customization
of the same name.

Test plan:
1 - Apply patch
2 - Test OpacSupressionsRedirect and OpacSuppressionMessage prefs to ensure
they work as before
3 - Set preference OpacHiddenRecordRedirect on and create HTML customization
OpacHiddenRecordMessage
4 - Enable OpacHiddenItemsHidesRecord and hide a biblio using OpacHiddenItems:
    biblionumber: [303]
5 - Test OpacHiddenRecordRedirect and OpacHiddenRecordMessage to ensure they
work as expected
6 - Hit the link:
http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=303
7 - When OpacHiddenRecordRedirect set to 404 you get a 404
8 - When OpacHiddenRecordRedirect set to 'an explanatory page' you get
'opac-blocked.pl'
9 - If you set a message in  OpacHiddenRecordMessage  it displays on
opac-blocked.pl

Signed-off-by: Roman Dolny <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to