From 15d1dbade22e4f9a9e4449a54f48d992b68378df Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Tue, 8 Apr 2025 09:52:25 -0400 Subject: [PATCH] Bug 39565 - OPACVirtualCard system preferences should not be in Suggestions section This patch changes the OPACVirtualCard and OPACVirtualCardBarcode system preferences from the Suggestions subsection of the OPAC preferences to the Features subsection. To test: 1. Apply patch 2. Go to Administration > System preferences > OPAC 3. Search the page (Ctrl + F) for OPACVirtualCard --> The two preferences (OPACVirtualCard and OPACVirtualCardBarcode) should be in the Features section Signed-off-by: Aude Charillon --- .../en/modules/admin/preferences/opac.pref | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref index 265272f534..58af318881 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref @@ -579,6 +579,29 @@ OPAC: 1: "Don't allow" 0: Allow - "OPAC users to email lists via a 'Send list' button." + - + - pref: OPACVirtualCard + choices: + 1: Allow + 0: "Don't allow" + - patrons to access the 'My virtual card' tab on their account page on the OPAC. + - "If set to allow, show a " + - pref: OPACVirtualCardBarcode + default: code39 + choices: + code39: "CODE39" + code128: "CODE128" + ean13: "EAN-13" + upca: "UPC-A" + upce: "UPC-E" + ean8: "EAN-8" + itf14: "ITF-14" + qrcode: "QR Code" + matrix2of5: "Matrix 2 of 5" + industrial2of5: "Industrial 2 of 5" + iata2of5: "IATA 2 of 5" + coop2of5: "COOP 2 of 5" + - " barcode in the patron's virtual card." OpenURL: - - 'Complete URL of OpenURL resolver (starting with http:// or https://):' @@ -933,29 +956,6 @@ OPAC: 1: Show 0: "Don't show" - purchase suggestions from other patrons on the OPAC. - - - - pref: OPACVirtualCard - choices: - 1: Allow - 0: "Don't allow" - - patrons to access the 'My virtual card' tab on their account page on the OPAC. - - "If set to allow, show a " - - pref: OPACVirtualCardBarcode - default: code39 - choices: - code39: "CODE39" - code128: "CODE128" - ean13: "EAN-13" - upca: "UPC-A" - upce: "UPC-E" - ean8: "EAN-8" - itf14: "ITF-14" - qrcode: "QR Code" - matrix2of5: "Matrix 2 of 5" - industrial2of5: "Industrial 2 of 5" - iata2of5: "IATA 2 of 5" - coop2of5: "COOP 2 of 5" - - " barcode in the patron's virtual card." - - "Fields that should be mandatory for patron purchase suggestions:" - pref: OPACSuggestionMandatoryFields -- 2.43.0