Bugzilla – Attachment 36113 Details for
Bug 13744
Paging on some datatables slightly broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13744: Fix datatables paging on 'Holds to pull' report
Bug-13744-Fix-datatables-paging-on-Holds-to-pull-r.patch (text/plain), 2.06 KB, created by
Katrin Fischer
on 2015-02-21 19:42:59 UTC
(
hide
)
Description:
Bug 13744: Fix datatables paging on 'Holds to pull' report
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-02-21 19:42:59 UTC
Size:
2.06 KB
patch
obsolete
>From 6c1bbcf3f7b610b635bdfa671b411543da8a8bdd Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sat, 21 Feb 2015 20:40:31 +0100 >Subject: [PATCH] Bug 13744: Fix datatables paging on 'Holds to pull' report > >The paging of the datatables on the 'holds to pull' report >page is broken without this patch. > >To test: >- Make sure that some holds are placed on available items > in your installation >- Go to the circulation start page >- Open the 'holds to pull' report >- Verify that the patch fixes the paging on the result table >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >index c596ab3..b4fca24 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >@@ -14,7 +14,8 @@ $(document).ready(function() { > { "sType": "anti-the", "aTargets" : [ "anti-the" ] }, > { "sType": "title-string", "aTargets" : [ "title-string" ] }, > { "sType": "string", "aTargets": [ "string-sort" ] } //Target columns that use <br> separators and pull-down menus. >- ] >+ ], >+ "sPaginationType": "full_numbers" > })); > holdst.fnAddFilters("filter"); > [%# add separateData function to cleanse jQuery select lists by breaking apart strings glued with BR tags and then de-duplicating any repeated library codes %] >@@ -36,7 +37,7 @@ $(document).ready(function() { > [%# add SeparateData function into createSelect function, so that it does the createSelect on clean data %] > function createSelect( data ) { > data = separateData(data); >- var r='<select style="width:99%"><option value="">None</option>', i, len=data.length; >+ var r='<select style="width:99%"><option value="">' + _('None') + '</option>', i, len=data.length; > for ( i=0 ; i<len ; i++ ) { > r += '<option value="'+data[i]+'">'+data[i]+'</option>'; > } >-- >1.9.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 13744
:
36112
|
36113
|
36117
|
36347
|
36381
|
36382
|
36385
|
36472
|
36473
|
36474