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

            Bug ID: 32674
           Summary: When placing a hold in OPAC page explodes into error
                    500
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

When trying to place a hold on a record in the OPAC, we get an error 500 in
22.11.01.

The error in the logs is:

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

With Joubu's help we tested following change that fixes the issue:

opac/opac-reserve.pl, L.338

-  biblionumber => $biblioNumber,
+  "me.biblionumber" => $biblionumber,


There is no test plan as we haven't figured out yet, why this happens for some
records and not for others. Items and records look normal, no hidden items on
the record and no 773 etc. :)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to