View | Details | Raw Unified | Return to bug 24718
Collapse All | Expand All

(-)a/Koha/Hold.pm (-1 / +1 lines)
Lines 201-207 sub set_waiting { Link Here
201
    # If patron's requested expiration date is prior to the
201
    # If patron's requested expiration date is prior to the
202
    # calculated one, we keep the patron's one.
202
    # calculated one, we keep the patron's one.
203
    my $cmp = $requested_expiration ? DateTime->compare($requested_expiration, $expirationdate) : 0;
203
    my $cmp = $requested_expiration ? DateTime->compare($requested_expiration, $expirationdate) : 0;
204
    $values->{expirationdate} = $cmp == -1 ? $requested_expiration->ymd : $expirationdate->ymd;
204
    $values->{expirationdate} = $cmp == -1 ? $requested_expiration : $expirationdate;
205
205
206
    $self->set($values)->store();
206
    $self->set($values)->store();
207
207
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-2 / +1 lines)
Lines 632-638 Circulation: Link Here
632
              choices:
632
              choices:
633
                  yes: Allow
633
                  yes: Allow
634
                  no: "Don't allow"
634
                  no: "Don't allow"
635
            - 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.
635
            - 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.<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/holds/*</code> cronjobs to run hourly. Ask your system administrator to schedule them.
636
        -
636
        -
637
            - In the staff interface, split the holds queue into separate tables by
637
            - In the staff interface, split the holds queue into separate tables by
638
            - pref: HoldsSplitQueue
638
            - pref: HoldsSplitQueue
639
- 

Return to bug 24718