From ca45fa9b6457617973e6c6d6e2354c8571a05238 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 --- .../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 ec83b17a01..26d3f1fcee 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 @@ -572,6 +572,29 @@ OPAC: summary: "in user summary box on OPAC homepage (the system preference 'OPACUserSummary' must be enabled)" user: "on patron's 'your summary' page" - ". Note that displayed savings may be inaccurate if checkout history is anonymized." + - + - 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://):' @@ -926,29 +949,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