Bugzilla – Attachment 93864 Details for
Bug 23101
Contracts permissions for staff patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23101: (follow-up) use NoSort class in datatable
Bug-23101-follow-up-use-NoSort-class-in-datatable.patch (text/plain), 1.79 KB, created by
Fridolin Somers
on 2019-10-08 12:07:14 UTC
(
hide
)
Description:
Bug 23101: (follow-up) use NoSort class in datatable
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2019-10-08 12:07:14 UTC
Size:
1.79 KB
patch
obsolete
>From 1562393f82e353367d46a531c83b589ed754edac Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Tue, 8 Oct 2019 14:05:49 +0200 >Subject: [PATCH] Bug 23101: (follow-up) use NoSort class in datatable > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >index 47414e8638..88dede5a0c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >@@ -352,7 +352,7 @@ > <th scope="col" class="title-string">Start date</th> > <th scope="col" class="title-string">End date</th> > [% IF CAN_user_acquisition_contracts_manage %] >- <th scope="col">Actions</th> >+ <th scope="col" class="NoSort">Actions</th> > [% END %] > </tr> > </thead> >@@ -430,11 +430,7 @@ > $(document).ready(function() { > var contractst = $("#contractst").dataTable($.extend(true, {}, dataTablesDefaults, { > "aoColumnDefs": [ >- [% IF CAN_user_acquisition_contracts_manage %] >- { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, >- [% ELSE %] >- { "bSortable": false, "bSearchable": false }, >- [% END %] >+ { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, > { "sType": "title-string", "aTargets" : [ "title-string" ] } > ], > 'sDom': 't' >-- >2.17.1
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 23101
:
90527
|
91510
|
92729
|
93053
|
93185
| 93864