Bugzilla – Attachment 77422 Details for
Bug 21145
The "Column visibility" button should not be displayed at the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21145: Do not show buttons for datatables on opac detail page
Bug-21145-Do-not-show-buttons-for-datatables-on-op.patch (text/plain), 2.18 KB, created by
Josef Moravec
on 2018-08-02 06:56:53 UTC
(
hide
)
Description:
Bug 21145: Do not show buttons for datatables on opac detail page
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-08-02 06:56:53 UTC
Size:
2.18 KB
patch
obsolete
>From 836e4daf8681612c704050ca315d605503be4906 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Thu, 2 Aug 2018 06:45:26 +0000 >Subject: [PATCH] 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 >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 3795e2e..137b499 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1452,7 +1452,7 @@ > var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) %]; > > KohaTable("#holdingst", { >- dom: 'B<"clearfix">t', >+ dom: '<"clearfix">t', > "columnDefs": [ > { "targets": [ -1 ], "sortable": false, "searchable": false }, > { "type": "title-string", "targets" : [ "title-string" ] } >@@ -1461,7 +1461,7 @@ > }, columns_settings); > > KohaTable("#otherholdingst", { >- dom: 'B<"clearfix">t', >+ dom: '<"clearfix">t', > "columnDefs": [ > { "targets": [ -1 ], "sortable": false, "searchable": false }, > { "type": "title-string", "targets" : [ "title-string" ] } >@@ -1472,7 +1472,7 @@ > var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) %]; > > KohaTable("#subscriptionst", { >- dom: 'B<"clearfix">t', >+ dom: '<"clearfix">t', > "columnDefs": [ > { "type": "title-string", "targets" : [ "title-string" ] } > ], >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21145
:
77422
|
77456
|
77458