Bugzilla – Attachment 89158 Details for
Bug 22816
OPAC detail holdings table doesn't fill it's container
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22816: OPAC detail holdings table should now look a bit better
Bug-22816-OPAC-detail-holdings-table-should-now-lo.patch (text/plain), 1.96 KB, created by
Liz Rea
on 2019-05-01 00:35:17 UTC
(
hide
)
Description:
Bug 22816: OPAC detail holdings table should now look a bit better
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2019-05-01 00:35:17 UTC
Size:
1.96 KB
patch
obsolete
>From b0bf2a1bef528bbad3f4bb1381bf0ef208990d71 Mon Sep 17 00:00:00 2001 >From: Liz Rea <wizzyrea@gmail.com> >Date: Wed, 1 May 2019 00:31:15 +0000 >Subject: [PATCH] Bug 22816: OPAC detail holdings table should now look a bit > better > >This patch sets the "autowidth" option to "false" for the OPAC >holdings DataTable on opac-detail.pl. This gives the table a fluid >width rather than having the width be "hard-coded" by DataTables upon >first page render. > >To test, apply the patch and view the detail page for a bibliographic >record with some items. Under the "Holdings" tab, the table of >holdings should fill the width of the tab container. > >Resize the browser window and confirm that the table width adjusts >accordingly. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 6 ++++-- > 1 file changed, 4 insertions(+), 2 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 a7c15a6a34..d17c6eec0d 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,8 @@ > { "targets": [ -1 ], "sortable": false, "searchable": false }, > { "type": "title-string", "targets" : [ "title-string" ] } > ], >- "bKohaColumnsUseNames": true >+ "bKohaColumnsUseNames": true, >+ "autoWidth": false > }, columns_settings); > > KohaTable("#otherholdingst", { >@@ -1461,7 +1462,8 @@ > { "targets": [ -1 ], "sortable": false, "searchable": false }, > { "type": "title-string", "targets" : [ "title-string" ] } > ], >- "bKohaColumnsUseNames": true >+ "bKohaColumnsUseNames": true, >+ "autoWidth": false > }, columns_settings); > > var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %]; >-- >2.11.0
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 22816
:
89158
|
89326
|
89328
|
89351