[Koha-bugs] [Bug 23233] AllowItemsOnHoldCheckout is misnamed and does not indicate it is for SIP-based checkouts only

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 1 13:50:31 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23233

Joonas Kylmälä <joonas.kylmala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |In Discussion

--- Comment #5 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
(In reply to Kyle M Hall from comment #4)
> Created attachment 91139 [details] [review]
> Bug 23233: Remove use of AllowItemsOnHoldCheckout from
> Koha::Item::has_pending_hold, it can cause false data to be returned

Thanks. So just to summarize what this does: In
koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc it is shown to patron
whether the item is available for checkout and without this patch it actually
showed whether it is available through SIP server and didn't consider it could
have been available through intranet or SCO. This same bug seems to be in two
other lines in the same Koha/Items.pm file:

C4/Items.pm:    $query .= ",IF(tmp_holdsqueue.itemnumber,1,0) AS
has_pending_hold" if !C4::Context->preference('AllowItemsOnHoldCheckout');

C4/Items.pm:    LEFT JOIN tmp_holdsqueue USING (itemnumber)" if
!C4::Context->preference('AllowItemsOnHoldCheckout');

Shouldn't those also be fixed?

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


More information about the Koha-bugs mailing list