From 70dcc175c69446f51c4dab0be1b66f1f857a07c5 Mon Sep 17 00:00:00 2001 From: Owen Leonard 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. Signed-off-by: Liz Rea Signed-off-by: Nick Clemens --- 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 fcd08c5b55..d17c6eec0d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1474,6 +1474,7 @@ "columnDefs": [ { "type": "title-string", "targets" : [ "title-string" ] } ], + "autoWidth": false, "bKohaColumnsUseNames": true }, serial_column_settings); -- 2.39.5