]> git.koha-community.org Git - koha.git/commit
Bug 31383: Check lang and use right column in search_for_display
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 22 Jun 2023 08:41:41 +0000 (08:41 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 20 Oct 2023 17:44:01 +0000 (14:44 -0300)
commit2e773a33c362247a0b763996226df8ca9acd5858
treedb26072abf6b3e78c0cb962df8fab8bc373625de
parent772337f5257c3099e36ea4127d0192eb3c167e76
Bug 31383: Check lang and use right column in search_for_display

We should check if $lang equals default before looking for translated
contents.
And note that @translated_content_id contains additional_content_id
not id, so cannot be used in the last query.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/AdditionalContents.pm