Bug 34185: Capitalized OPAC in OpacItemLocation syspref

To test:
1. In K-T-D git grep for “OpacItemLocation”
    1. Notice that related XSLT / XSL scripts are not coming up. Only .pm, .pl and .sql scripts.
2. Git grep for “OPACItemLocation”. Note that XSLT/XSL files show up but not the .pm, .pl and .sql scripts.
3. Apply the patch. Updatedatabase. Restart_all
4. Git grep for “OPACItemLocation”
    1. Notice that both the XSLT/XSL files in addition to the .sql, .pm and .pl scripts are now showing up.
5. Sign off and have a spectacular day :D

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Laura_Escamilla 2024-08-30 16:54:19 +00:00 committed by Katrin Fischer
parent 084ed6e322
commit d9b857ecc0
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
4 changed files with 7 additions and 7 deletions

View file

@ -295,7 +295,7 @@ sub _shared_preferences {
OpacCloud
OPACFinesTab
OpacHoldNotes
OpacItemLocation
OPACItemLocation
OpacPasswordChange
OPACPatronDetails
OPACpatronimages

File diff suppressed because one or more lines are too long

View file

@ -6505,8 +6505,8 @@ if ( CheckVersion($DBversion) ) {
$DBversion = "3.11.00.024";
if ( CheckVersion($DBversion) ) {
$dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacItemLocation','callnum','Show the shelving location of items in the opac','callnum|ccode|location','Choice');");
print "Upgrade to $DBversion done (Bug 5079: Add OpacItemLocation syspref)\n";
$dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OPACItemLocation','callnum','Show the shelving location of items in the opac','callnum|ccode|location','Choice');");
print "Upgrade to $DBversion done (Bug 5079: Add OPACItemLocation syspref)\n";
SetVersion ($DBversion);
}
@ -22570,9 +22570,9 @@ $DBversion = '20.06.00.021';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
UPDATE systempreferences SET options = "callnum|ccode|location|library"
WHERE variable = "OpacItemLocation"
WHERE variable = "OPACItemLocation"
});
NewVersion( $DBversion, 25871, "Add library option to OpacItemLocation");
NewVersion( $DBversion, 25871, "Add library option to OPACItemLocation");
}
$DBversion = '20.06.00.022';

View file

@ -371,7 +371,7 @@ OPAC:
- patrons to log in to their accounts on the OPAC.
-
- Show
- pref: OpacItemLocation
- pref: OPACItemLocation
choices:
location: "library, location, and call number"
ccode: "library, collection code, and call number"