[Koha-bugs] [Bug 15533] Allow patrons and librarians to select itemtype when placing hold

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 28 16:57:03 CEST 2016


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

--- Comment #12 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 50927
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50927&action=edit
Bug 15533: Fix 'ambiguous' SQL query in CanItemBeReserved

Adding reserves.itemtype made a query to fail in CanItemBeReserved.
This patch prefixes the column names with the corresponding table names
to prevent that.

You can trigger the error by running
  prove t/db_dependent/Holds.t

You should see something like this:
  Column 'itemtype' in where clause is ambiguous

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


More information about the Koha-bugs mailing list