]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 14 May 2017 09:56:07 +0000 (11:56 +0200)
commite5d232e2084269ad9785b3b985edda1e14e40914
treea45344019d358fc7b5acf99ae0c2be4264868718
parent92aff81e1f15fc64af57cc851d703829783555ac
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