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 c0eb67a557)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
77f2da8fb2
commit
9ede6f9a0a
|
|
@ -1422,7 +1422,7 @@
|
|||
var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) %];
|
||||
|
||||
KohaTable("#holdingst", {
|
||||
dom: 'B<"clearfix">t',
|
||||
dom: '<"clearfix">t',
|
||||
"columnDefs": [
|
||||
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
|
||||
{ "sType": "title-string", "aTargets" : [ "title-string" ] }
|
||||
|
|
@ -1431,7 +1431,7 @@
|
|||
}, columns_settings);
|
||||
|
||||
KohaTable("#otherholdingst", {
|
||||
dom: 'B<"clearfix">t',
|
||||
dom: '<"clearfix">t',
|
||||
"columnDefs": [
|
||||
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
|
||||
{ "sType": "title-string", "aTargets" : [ "title-string" ] }
|
||||
|
|
@ -1442,7 +1442,7 @@
|
|||
var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) %];
|
||||
|
||||
KohaTable("#subscriptionst", {
|
||||
dom: 'B<"clearfix">t',
|
||||
dom: '<"clearfix">t',
|
||||
"columnDefs": [
|
||||
{ "sType": "title-string", "aTargets" : [ "title-string" ] }
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue