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:
parent
084ed6e322
commit
d9b857ecc0
4 changed files with 7 additions and 7 deletions
|
@ -295,7 +295,7 @@ sub _shared_preferences {
|
||||||
OpacCloud
|
OpacCloud
|
||||||
OPACFinesTab
|
OPACFinesTab
|
||||||
OpacHoldNotes
|
OpacHoldNotes
|
||||||
OpacItemLocation
|
OPACItemLocation
|
||||||
OpacPasswordChange
|
OpacPasswordChange
|
||||||
OPACPatronDetails
|
OPACPatronDetails
|
||||||
OPACpatronimages
|
OPACpatronimages
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -6505,8 +6505,8 @@ if ( CheckVersion($DBversion) ) {
|
||||||
|
|
||||||
$DBversion = "3.11.00.024";
|
$DBversion = "3.11.00.024";
|
||||||
if ( CheckVersion($DBversion) ) {
|
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');");
|
$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";
|
print "Upgrade to $DBversion done (Bug 5079: Add OPACItemLocation syspref)\n";
|
||||||
SetVersion ($DBversion);
|
SetVersion ($DBversion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22570,9 +22570,9 @@ $DBversion = '20.06.00.021';
|
||||||
if( CheckVersion( $DBversion ) ) {
|
if( CheckVersion( $DBversion ) ) {
|
||||||
$dbh->do(q{
|
$dbh->do(q{
|
||||||
UPDATE systempreferences SET options = "callnum|ccode|location|library"
|
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';
|
$DBversion = '20.06.00.022';
|
||||||
|
|
|
@ -371,7 +371,7 @@ OPAC:
|
||||||
- patrons to log in to their accounts on the OPAC.
|
- patrons to log in to their accounts on the OPAC.
|
||||||
-
|
-
|
||||||
- Show
|
- Show
|
||||||
- pref: OpacItemLocation
|
- pref: OPACItemLocation
|
||||||
choices:
|
choices:
|
||||||
location: "library, location, and call number"
|
location: "library, location, and call number"
|
||||||
ccode: "library, collection code, and call number"
|
ccode: "library, collection code, and call number"
|
||||||
|
|
Loading…
Reference in a new issue