From dcd2db849ed6cefeaf05a14e8ebd81f6239cf344 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 15 Sep 2020 13:56:02 +1200 Subject: [PATCH] Bug 24718: (follow-up) Update syspref description, fix expdate time when setting waiting --- Koha/Hold.pm | 2 +- .../intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Hold.pm b/Koha/Hold.pm index 360b43e7b5..463730395f 100644 --- a/Koha/Hold.pm +++ b/Koha/Hold.pm @@ -201,7 +201,7 @@ sub set_waiting { # If patron's requested expiration date is prior to the # calculated one, we keep the patron's one. my $cmp = $requested_expiration ? DateTime->compare($requested_expiration, $expirationdate) : 0; - $values->{expirationdate} = $cmp == -1 ? $requested_expiration->ymd : $expirationdate->ymd; + $values->{expirationdate} = $cmp == -1 ? $requested_expiration : $expirationdate; $self->set($values)->store(); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref index 3fa27f7d00..7421e3ea9a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref @@ -632,7 +632,7 @@ Circulation: choices: yes: Allow no: "Don't allow" - - holds to operate on an hourly or minutes basis. If enabled, hours and minutes will be considered when placing a hold, and cronjobs will be run hourly. + - holds to operate on an hourly or minutes basis. If enabled, hours and minutes will be considered when placing a hold, and the relevant cronjob should be enabled to run hourly.
NOTE: This system preference requires the misc/cronjobs/holds/* cronjobs to run hourly. Ask your system administrator to schedule them. - - In the staff interface, split the holds queue into separate tables by - pref: HoldsSplitQueue -- 2.11.0