]> git.koha-community.org Git - koha.git/commit
Bug 18370: Columns visibility on patron search - Hide the correct column
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 3 Apr 2017 14:50:07 +0000 (11:50 -0300)
committerMason James <mtj@kohaaloha.com>
Wed, 24 May 2017 02:26:24 +0000 (14:26 +1200)
commit2a724e511da845b8adc3a141be0723178a9f06d6
tree6733d7c1b2e11e93486480c7843984407e485a4a
parentc49d0e2109853e3fbcc51df663a94e08a980685d
Bug 18370: Columns visibility on patron search - Hide the correct column

When a column is hidden by default on the patron search result table,
if the logged in user does not have the "tools > manage_patron_lists"
permission, the wrong column will be hidden.

Test plan:
Edit the column visibility detail for "Patrons > id=memberresultst"
Set "Fines" hidden by default
Search for patrons
=> Without this patch, if the logged in user does not have the
manage_patron_lists permission, the wrong column will be
hidden/displayed.

Signed-off-by: Séverine Queune <severine.queune@bulac.fr>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 0a2b14dd16292572e5163e5dfa491432be1660d2)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt