[Koha-bugs] [Bug 30432] New: get_items_that_can_fill needs to specify table for biblionumbers
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 1 14:48:12 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30432
Bug ID: 30432
Summary: get_items_that_can_fill needs to specify table for
biblionumbers
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Hold requests
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
When not using item_level-itypes i.e. it is set to 'bibliographic record', we
join to biblioitems to get the itemtype
This causes ambiguity in the 'filter_by_for_hold' call in
'get_items_that_can_fill' as we only specify 'biblionumber' in our
bibs_or_items variable
The error is:
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Column 'biblionumber' in where clause is ambiguous at
/kohadevbox/koha/Koha/Objects.pm line 394
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list