Bug 31326: Koha::Biblio->get_components_query fetches too many component parts
authorJohanna Raisa <johanna.raisa@gmail.com>
Tue, 9 Aug 2022 08:58:59 +0000 (11:58 +0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 14:03:11 +0000 (11:03 -0300)
commita813de5f85c221974b2187259e25150ca7f44534
treec899c9578157b53898d7d83d596c62d5c7eb648e
parent0f5daaa553bc63bd2c08212ee8db3d56c52781e9
Bug 31326: Koha::Biblio->get_components_query fetches too many component parts

This patch adds double quotes to rcn and cni when searching component parts
with get_components_query.

Test plan:
1) Apply the patch
2) prove Koha/t/db_dependent/Koha/Biblio.t

Sponsored-by: Koha-Suomi Oy
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Biblio.pm
t/db_dependent/Koha/Biblio.t