[Koha-devel] DBIC join patron and category
Fridolin SOMERS
fridolin.somers at biblibre.com
Wed Mar 2 21:37:13 CET 2022
Hi,
Working on Bug 26311 I noticed my BDIC join for patrons search was wrong.
I changed with a prefetch.
I think i found this in existing code :
https://git.koha-community.org/Koha-community/Koha/src/commit/8fd2083295af0376a00651c256ae6e6e2444f61d/Koha/Illrequest.pm#L1114
Is this correct ?
Should be just :
{ join => 'categorycode' }
Like we see in :
https://git.koha-community.org/Koha-community/Koha/src/commit/8fd2083295af0376a00651c256ae6e6e2444f61d/Koha/Patrons.pm#L123
Best regards,
--
Fridolin SOMERS <fridolin.somers at biblibre.com>
Software and system maintainer 🦄
BibLibre, France
More information about the Koha-devel
mailing list