Bug 36330: Change 'reseve' to 'reserve'

Test plan:
1. git grep 'reseve'. Notice there are instances of 'reseve'
2. Apply patch
3. Repeat step 1, there should be no instances of 'reseve'

Sponsored-by: Catalyst IT, New Zealand
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Alex Buckley 2024-03-21 23:49:09 +00:00 committed by Martin Renvoize
parent e8ef0f9417
commit 0b1fb1eaf7
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
4 changed files with 6 additions and 6 deletions

View File

@ -152,7 +152,7 @@ a place to store the holdingbranch when item is on course reserve
is_nullable: 1
size: 80
new shelving location for the item to have while on reseve (optional)
new shelving location for the item to have while on reserve (optional)
=head2 location_enabled
@ -177,7 +177,7 @@ a place to store the location when the item is on course reserve
extra: {list => ["yes","no"]}
is_nullable: 0
if at least one enabled course has this item on reseve, this field will be 'yes', otherwise it will be 'no'
if at least one enabled course has this item on reserve, this field will be 'yes', otherwise it will be 'no'
=head2 timestamp

View File

@ -2239,10 +2239,10 @@ CREATE TABLE `course_items` (
`holdingbranch` varchar(10) DEFAULT NULL COMMENT 'new holding branch for the item to have while on reserve (optional)',
`holdingbranch_enabled` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'indicates if itype should be changed while on course reserve',
`holdingbranch_storage` varchar(10) DEFAULT NULL COMMENT 'a place to store the holdingbranch when item is on course reserve',
`location` varchar(80) DEFAULT NULL COMMENT 'new shelving location for the item to have while on reseve (optional)',
`location` varchar(80) DEFAULT NULL COMMENT 'new shelving location for the item to have while on reserve (optional)',
`location_enabled` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'indicates if itype should be changed while on course reserve',
`location_storage` varchar(80) DEFAULT NULL COMMENT 'a place to store the location when the item is on course reserve',
`enabled` enum('yes','no') NOT NULL DEFAULT 'no' COMMENT 'if at least one enabled course has this item on reseve, this field will be ''yes'', otherwise it will be ''no''',
`enabled` enum('yes','no') NOT NULL DEFAULT 'no' COMMENT 'if at least one enabled course has this item on reserve, this field will be ''yes'', otherwise it will be ''no''',
`timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`ci_id`),
UNIQUE KEY `itemnumber` (`itemnumber`),

View File

@ -4904,7 +4904,7 @@ $DBversion = "3.07.00.024";
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
$dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('ExpireReservesMaxPickUpDelayCharge', '0', NULL , 'If ExpireReservesMaxPickUpDelay is enabled, and this field has a non-zero value, than a borrower whose waiting hold has expired will be charged this amount.', 'free')");
$dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('ExpireReservesMaxPickUpDelay', '0', '', 'Enabling this allows holds to expire automatically if they have not been picked by within the time period specified in ReservesMaxPickUpDelay', 'YesNo')");
print "Upgrade to $DBversion done (Added system preference ExpireReservesMaxPickUpDelay, system preference ExpireReservesMaxPickUpDelayCharge, add reseves.charge_if_expired)\n";
print "Upgrade to $DBversion done (Added system preference ExpireReservesMaxPickUpDelay, system preference ExpireReservesMaxPickUpDelayCharge, add reserves.charge_if_expired)\n";
}
$DBversion = "3.07.00.025";

View File

@ -34,7 +34,7 @@ or, in crontab:
=head1 DESCRIPTION
This script calls C4::Reserves::CancelExpiredReserves which will find and cancel all expired reseves in the system.
This script calls C4::Reserves::CancelExpiredReserves which will find and cancel all expired reserves in the system.
=cut