Bug 33167: Cleanup staff detail page
authorNick Clemens <nick@bywatersolutions.com>
Thu, 9 Mar 2023 20:37:28 +0000 (20:37 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 15 May 2023 12:56:58 +0000 (12:56 +0000)
commitff69e5b3aa3e3f4e68172df0da71188f67b44aab
treeec61b433eb6e3a3f70eaf7fadeaafb992efedba2
parent32a6fec7e2ac8d40e22bb5f4dc7883fd8e5af056
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>
(cherry picked from commit d650f8c2a6c5ee594a1c03fcab41c34a1cbce5fd)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
catalogue/detail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt