[Koha-bugs] [Bug 33974] Add ability to search biblios endpoint any biblioitem attribute
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 3 18:34:08 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33974
--- Comment #16 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 152988
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152988&action=edit
Bug 33974: (follow-up) biblionumber column needs special handling
This patch makes a particular use case be handled correctly: i.e. no
context is passed (e.g. 'biblio' explicitly) and the query is done
against the `biblio_id` attribute. This results in the following DBIC
error:
[ERROR] GET /api/v1/biblios: unhandled exception
(DBIx::Class::Exception)<<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>>
With this patch, this is no longuer the case :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list