[Koha-bugs] [Bug 32674] When placing a hold in OPAC page explodes into error 500

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 18 21:00:05 CET 2023


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

Thomas Klausner <domm at plix.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |domm at plix.at

--- Comment #4 from Thomas Klausner <domm at plix.at> ---
Just a general DBIC-note: This problem is caused when joining tables and both
tables have a column with the same name. As DBIC allows chaining of
result-set/search calls, a given piece of code may work in one case, but not
when later own the base query is amended and eg a second table is joined.

Therefore it's (IMO) best pratice to always use the `me.` alias in DBIC
searches, just to future-proof your code.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list