Bugzilla – Attachment 73727 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.24 KB, created by
Katrin Fischer
on 2018-04-06 05:43:42 UTC
(
hide
)
Description:
Bug 20524: Make columns of pending discharges table sortable
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-04-06 05:43:42 UTC
Size:
2.24 KB
patch
obsolete
>From 9e8944016f304ba215c23b0cf14f596e4fa6953a 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> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../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 70f727a..3984f18 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' %] >@@ -45,6 +46,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.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 20524
:
73680
|
73686
| 73727