Bugzilla – Attachment 25479 Details for
Bug 11798
Problems with column sorting and row visibility in invoices table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11798 - Problems with column sorting and row visibility in invoices table
Bug-11798---Problems-with-column-sorting-and-row-v.patch (text/plain), 2.05 KB, created by
Jacek Ablewicz
on 2014-02-20 09:19:40 UTC
(
hide
)
Description:
Bug 11798 - Problems with column sorting and row visibility in invoices table
Filename:
MIME Type:
Creator:
Jacek Ablewicz
Created:
2014-02-20 09:19:40 UTC
Size:
2.05 KB
patch
obsolete
>From 3e494220591675f6a7e1c15d58049dd641221216 Mon Sep 17 00:00:00 2001 >From: Jacek Ablewicz <abl@biblos.pk.edu.pl> >Date: Thu, 20 Feb 2014 09:53:23 +0100 >Subject: [PATCH] Bug 11798 - Problems with column sorting and row visibility > in invoices table > >1) Sorting on "Billing date" (functionality introduced by bug 10794) >doesn't work properly any longer after bug 10401 was pushed (another >side-effect being that "Vendor" column is currently not sortable >at all). >2) Only "top ten" invoices are always displayed in the table, and it's >not possible to change that without missing top/bottom DataTables >pagination bars. > >This patch fixes sorting for "Billing date" & "Vendor" columns >in invoices table and restores the ability to see all table >rows/search results (not just "top ten"). > >Test plan (you'll need to have 11+ invoices with various billing >dates entered in the system): >1) apply patch, >2) view the Acquisitions invoices page (acqui/invoices.pl), do some >search (= as broad search as possible) and confirm that "Billing >date" and "Vendor" columns now do sort correctly, >3) in situations when there are more then 10 search results, they >should all be visible in the invoices table. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt >index 66b40a6..b7d9399 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt >@@ -11,8 +11,11 @@ > $(document).ready(function() { > $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, { > sDom: "t", >+ bPaginate: false, >+ bFilter: false, >+ bInfo: false, > "aoColumns": [ >- null,null,{ "sType": "title-string" },null,null,null,null >+ null,null,null,{ "sType": "title-string" },null,null,null,null > ], > aoColumnDefs: [ > { "bSortable": false, "aTargets": [0, 7] } >-- >1.7.10.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 11798
:
25479
|
25602
|
25611