Bugzilla – Attachment 73686 Details for
Bug 20524
Make columns of pending discharges table sortable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20524: Make columns of pending discharges table sortable
Bug-20524-Make-columns-of-pending-discharges-table.patch (text/plain), 2.19 KB, created by
Julian Maurice
on 2018-04-05 13:22:24 UTC
(
hide
)
Description:
Bug 20524: Make columns of pending discharges table sortable
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-04-05 13:22:24 UTC
Size:
2.19 KB
patch
obsolete
>From 5da76ad395c7fa4114f8922f0063d7669cf697db Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Thu, 5 Apr 2018 13:14:39 +0200 >Subject: [PATCH] Bug 20524: Make columns of pending discharges table sortable > >Test plan: >1. Enable syspref useDischarge >2. Login to OPAC and ask for a discharge (tab on the left) >3. Login to OPAC with another borrower from another library and ask for > a discharge >4. Login to intranet, you should see a message about pending discharges, > and a link. Click on the link. >5. Confirm that the Patron column is sortable and the Allow column is > not >6. (Optional) You can apply bug 20516 and confirm that the Library > column is sortable too > >Signed-off-by: Axelle Clarisse <axelle.clarisse@univ-amu.fr> >--- > .../intranet-tmpl/prog/en/modules/members/discharges.tt | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt >index bd2e254f17..2f63f3dac3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt >@@ -3,6 +3,7 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Patrons › Pending discharge requests</title> > [% INCLUDE 'doc-head-close.inc' %] >+<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" /> > </head> > <body id="pat_discharges" class="pat"> > [% INCLUDE 'header.inc' %] >@@ -47,6 +48,21 @@ > > [% MACRO jsinclude BLOCK %] > <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script> >+ >+ [% INCLUDE 'datatables.inc' %] >+ <script> >+ $(document).ready(function() { >+ $('#pending_updates table').DataTable($.extend(true, {}, dataTablesDefaults, { >+ paging: false, >+ info: false, >+ searching: false, >+ order: [], >+ columnDefs: [ >+ { targets: -1, orderable: false }, >+ ], >+ })); >+ }); >+ </script> > [% END %] > > [% INCLUDE 'intranet-bottom.inc' %] >-- >2.14.2
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 20524
:
73680
|
73686
|
73727