Bugzilla – Attachment 53525 Details for
Bug 16906
Add DataTables pagination and filter to top of saved SQL reports table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16906 - Add DataTables pagination and filter to top of saved SQL reports table
Bug-16906---Add-DataTables-pagination-and-filter-t.patch (text/plain), 1.66 KB, created by
Jonathan Druart
on 2016-07-20 14:19:29 UTC
(
hide
)
Description:
Bug 16906 - Add DataTables pagination and filter to top of saved SQL reports table
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-07-20 14:19:29 UTC
Size:
1.66 KB
patch
obsolete
>From 8c85ceffcdfa40d807ad716c8d757c5ebf1c1a50 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 12 Jul 2016 14:07:18 -0400 >Subject: [PATCH] Bug 16906 - Add DataTables pagination and filter to top of > saved SQL reports table >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch adds a DataTables toolbar to the top of the saved SQL reports >table so that pagination and filtering controls are at the top as well >as the bottom. > >To test, apply the patch and go to Reports -> Saved reports. There >should be controls at the top of the table of saved reports for setting >number of results, pagination, and searching. > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 16752cc..d5968c8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -87,7 +87,7 @@ $("#delColumn").on("click",function(){ > [% IF (saved1) %] > var rtable = $("#table_reports").dataTable($.extend(true, {}, dataTablesDefaults, { > 'bAutoWidth': false, >- 'sDom': 't<"bottom pager"ilpf>', >+ 'sDom': '<"top pager"ilpf>t<"bottom pager"ilpf>', > 'sPaginationType': 'four_button', > 'aaSorting': [[ 1, "asc" ]], > 'aoColumnDefs': [ >-- >2.8.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 16906
:
53329
|
53336
| 53525 |
53526