https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36281
Lucas Gass <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162950|0 |1 is obsolete| | --- Comment #3 from Lucas Gass <[email protected]> --- Created attachment 163009 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163009&action=edit Bug 36281: Display restricted info only if item is not restricted (OPAC details) If you define a description for restricted = 0 : In OPAC details, restricted info is displayed even if item is not restricted (value 0). This patch fixes by adding 'IF item.restricted'. Also creates a BLOCK to avoid code duplication. Also adds span around status text to create easier translation. Test plan : 1) Create a description in restricted autorised values category for value 0 2) Create a description in restricted autorised values category for value 1 3) Edit an biblio record to add an item with restricted=0 and an item with restricted=1 4) Display this biblio on OPAC details page => Check you see resticted info only for restricted item Signed-off-by: Lucas Gass <[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/
