]> 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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Tue, 7 Mar 2023 18:07:47 +0000 (18:07 +0000)
commit7282cd87ebd44adbc18daa3f0681fab35f08a3d1
tree8b1c9af3ee7a9f639286c5eba44d6aae779353c1
parent780d51e75e4a44b3b96f46af17a4b57261f63662
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>
(cherry picked from commit f25893a2ba395e833c135fb590d4354c5ab6763f)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
opac/opac-reserve.pl