]> git.koha-community.org Git - koha.git/commit
Bug 34519: Add a template plugin for fetch searchable patron attributes
authorNick Clemens <nick@bywatersolutions.com>
Fri, 11 Aug 2023 14:16:12 +0000 (14:16 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 8 Nov 2023 20:52:37 +0000 (17:52 -0300)
commit9d69ae986a9f022d03a806838b34ed794a17d8c5
tree0ef2d6edc78bf88694fdecc5fb8732d57a3a3d81
parent1e56d4953ac1a133d8a0dea5e04f72cd690da9a3
Bug 34519: Add a template plugin for fetch searchable patron attributes

This patch moves code form scripts to a template plguin and unifies the calls

To test:
1 - Add a searchable patron attribute type
2 - Add values to several patrons and test patron searching from
    Patrons home
    Patrons search results
    Holds request screen
    Article request screen
    Patron search sidebar
3 - Apply patch
4 - Confirm results are the same

Signed-off-by: Janusz Kaczmarek <januszop@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Template/Plugin/ExtendedAttributeTypes.pm [new file with mode: 0644]
circ/request-article.pl
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
members/member.pl
members/members-home.pl
members/search.pl
reserve/request.pl