Bugzilla – Attachment 89035 Details for
Bug 22803
Set dataTable width issue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22803: (alternate) Set dataTable width issue
Bug-22803-alternate-Set-dataTable-width-issue.patch (text/plain), 1.34 KB, created by
Owen Leonard
on 2019-04-29 15:54:04 UTC
(
hide
)
Description:
Bug 22803: (alternate) Set dataTable width issue
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-04-29 15:54:04 UTC
Size:
1.34 KB
patch
obsolete
>From 2471d34af3a55fd6df0910b276ee5f79926f2484 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 29 Apr 2019 15:48:14 +0000 >Subject: [PATCH] Bug 22803: (alternate) Set dataTable width issue > >This patch sets the "autowidth" option to "false" for the OPAC >subscriptions 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 a subscription. Under the "Subscriptions" tab, the table of >latest issues 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 | 1 + > 1 file changed, 1 insertion(+) > >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 7d25cde..a7c15a6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1472,6 +1472,7 @@ > "columnDefs": [ > { "type": "title-string", "targets" : [ "title-string" ] } > ], >+ "autoWidth": false, > "bKohaColumnsUseNames": true > }, serial_column_settings); > >-- >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 22803
:
89011
|
89016
|
89035
|
89157
|
89301