]> git.koha-community.org Git - koha.git/commit
Bug 33167: Cleanup staff detail page
authorNick Clemens <nick@bywatersolutions.com>
Thu, 9 Mar 2023 20:37:28 +0000 (20:37 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 12 May 2023 14:22:45 +0000 (11:22 -0300)
commitd650f8c2a6c5ee594a1c03fcab41c34a1cbce5fd
treeb96b422eeb2a178979c0dc6115e184dbb7826295
parentaded9437922c2aea3c1e8abb237bccbaa0fbe8f1
Bug 33167: Cleanup staff detail page

This patch begins reduing some of the extra things we are doing in
detail.pl that could easily be handled in the templates - fetching
authorised values and branches etc

It also removes a loop to find items that should be hidden, and instead
uses a searh parameter

The template changes either use item object rather than passed
variables, or utilize plugins to fetch authorised valued

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
catalogue/detail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt