[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
Tue Apr 12 15:23:02 CEST 2016


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

--- Comment #10 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 50145
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50145&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