]> git.koha-community.org Git - koha.git/commit
Bug 32674: Fix placing a hold at the OPAC for serials
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 28 Feb 2023 08:13:19 +0000 (09:13 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Mar 2023 12:51:44 +0000 (09:51 -0300)
commitf25893a2ba395e833c135fb590d4354c5ab6763f
treeafb2677234bfd8a577252c305b9a01c30870acc8
parent79f7f44aa1c534ab30145ff3e0d95f30e6e04a67
Bug 32674: Fix placing a hold at the OPAC for serials

Placing a hold at the OPAC explodes with a 500 when the record is a
serial
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Column 'biblionumber' in where clause is ambiguous at /usr/share/koha/lib/Koha/Objects.pm line 394

Test plan:
* Create a serial subscription for an existing bibliographic record
* Place a hold on this record at the OPAC

Signed-off-by: Janusz Kaczmarek <januszop@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/opac-reserve.pl