Bug 21145: Do not show buttons for datatables on opac detail page
authorJosef Moravec <josef.moravec@gmail.com>
Thu, 2 Aug 2018 06:45:26 +0000 (06:45 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Aug 2018 10:24:07 +0000 (11:24 +0100)
commit9ede6f9a0a2cb07f339a0ef74719b314989ed7fe
tree56c89d0c8a0ae247de89a413264e22fd872b6529
parent77f2da8fb26e68fa87d2858fc1dfc9f223e24821
Bug 21145: Do not show buttons for datatables on opac detail page

Test plan:
0) Do not apply the patch
1) Go to opac detail page
2) There are up to three datatables
    - items
    - items from other branches (only if there are any and the OpacSeparateHoldings preference is set)
    - subscriptions
3) try to find record with all three tables and confirm, there is button
"Columns visibility" above the table
4) Apply the patch
5) Repeat 1-3 and confirm the button is no more here

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit c0eb67a5572294c33e3f82c928e1cad709cb1c3a)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt