[Koha-bugs] [Bug 8188] OPAC allow hold date in future is controlled by staff-side preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 4 21:40:37 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8188

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Correction: *both* preferences have to be turned on for it to work. This
doesn't seem consistent with other similar features in Koha. Why does it
require both?

# can set reserve date in future
if (
    C4::Context->preference( 'AllowHoldDateInFuture' ) &&
    C4::Context->preference( 'OPACAllowHoldDateInFuture' )
    ) {
    $template->param(
        reserve_in_future         => 1,
    );
}

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list