]> git.koha-community.org Git - koha.git/commit
Bug 34058: Preparation: buildPatronSearchQuery
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 27 Jun 2023 09:07:49 +0000 (09:07 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 9 Nov 2023 17:42:19 +0000 (14:42 -0300)
commitc162b8aa465bc5f5cd29751a5d8561789d0597a0
treeea2eb33115dd2ff3082d18aa952821136d6607de
parent62425b0d859a121bf784a1e22b922441c758a56b
Bug 34058: Preparation: buildPatronSearchQuery

Add table_prefix argument to buildPatronSearchQuery.
This allows the buildPatronSearchQuery function to also perform the search
on a related table, instead of the default patron table.
This is relevant because the query will be performed on the ILL API endpoint,
so the table being searched will have to be prefixed with 'patron.', instead of the
default 'me.'

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/staff-global.js