Bugzilla – Attachment 75711 Details for
Bug 20726
Display acquisition details on the subscription detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20726: Add DataTables
Bug-20726-Add-DataTables.patch (text/plain), 2.05 KB, created by
Séverine Queune
on 2018-05-31 16:02:09 UTC
(
hide
)
Description:
Bug 20726: Add DataTables
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2018-05-31 16:02:09 UTC
Size:
2.05 KB
patch
obsolete
>From 8d56915c99967a029367c3b9b051850882643dc9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 7 May 2018 20:07:28 -0300 >Subject: [PATCH] Bug 20726: Add DataTables >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > .../prog/en/modules/serials/subscription-detail.tt | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >index a376dba..771d363 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >@@ -8,6 +8,7 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Serials › Details for subscription #[% subscriptionid %]</title> > [% INCLUDE 'doc-head-close.inc' %] >+[% Asset.css("css/datatables.css") %] > </head> > > <body id="ser_subscription-detail" class="ser"> >@@ -411,6 +412,7 @@ > var CONFIRM_DELETE_SUBSCRIPTION = _("Are you sure you want to delete this subscription?"); > </script> > [% Asset.js("js/serials-toolbar.js") %] >+ [% INCLUDE 'datatables.inc' %] > <script type="text/javascript"> > // the english words used in display purposes > var text = new Array(_("Number"),_("Volume"),_("Issue"),_("Month"),_("Week"),_("Starting with:"),_("Rollover at:"),_("Choose Hemisphere:"),_("Northern"),_("Southern", >@@ -421,6 +423,16 @@ > popup([% subscriptionid %]); > return false; > }) >+ >+ $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { >+ 'bPaginate': false, >+ 'bAutoWidth': false, >+ "aaSorting": [[ 4, "desc" ]], >+ "aoColumnDefs": [ >+ { "aTargets": "title-string", "sType": "title-string" } >+ ] >+ })); >+ > }); > </script> > [% END %] >-- >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 20726
:
75146
|
75147
|
75148
|
75149
|
75150
|
75650
|
75651
|
75666
|
75708
|
75709
|
75710
|
75711
|
75712
|
75713
|
75794
|
77428
|
77429
|
77430
|
77431
|
77432
|
77433
|
77434
|
77500
|
77501
|
77502
|
77503
|
77504
|
77505
|
77506
|
78062
|
78063
|
78064
|
78065
|
78066
|
78067
|
78068