Bugzilla – Attachment 26081 Details for
Bug 11703
Convert checkouts table to ajax datatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11703 [QA Followup 11] - Prevent multiple fetchs from ajax source
Bug-11703-QA-Followup-11---Prevent-multiple-fetchs.patch (text/plain), 2.19 KB, created by
Kyle M Hall (khall)
on 2014-03-11 11:17:31 UTC
(
hide
)
Description:
Bug 11703 [QA Followup 11] - Prevent multiple fetchs from ajax source
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-03-11 11:17:31 UTC
Size:
2.19 KB
patch
obsolete
>From 95f81d5355c9b047a978d7ad67ac1b29a0338920 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 11 Mar 2014 07:16:36 -0400 >Subject: [PATCH] Bug 11703 [QA Followup 11] - Prevent multiple fetchs from ajax source > >--- > koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 7 ++++++- > .../prog/en/modules/circ/circulation.tt | 1 + > 2 files changed, 7 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js >index f737e61..6f4828e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js >@@ -139,7 +139,12 @@ $(document).ready(function() { > } > } > }, >+ { >+ "mDataProp": "date_due", >+ "bVisible": false, >+ }, > { >+ "iDataSort": 1, // Sort on hidden unformatted date due column > "mDataProp": function( oObj ) { > var today = new Date(); > var due = new Date( oObj.date_due ); >@@ -283,7 +288,7 @@ $(document).ready(function() { > }, > "bPaginate": false, > "bProcessing": true, >- "bServerSide": true, >+ "bServerSide": false, > "sAjaxSource": '/cgi-bin/koha/svc/checkouts.pl', > "fnServerData": function ( sSource, aoData, fnCallback ) { > aoData.push( { "name": "borrowernumber", "value": borrowernumber } ); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 7c9b1f7..a3de86c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -677,6 +677,7 @@ No patron matched <span class="ex">[% message %]</span> > <tr> > <th scope="col"> </th> > <th scope="col">Due date</th> >+ <th scope="col">Due date</th> > <th scope="col">Title</th> > <th scope="col">Item type</th> > <th scope="col">Checked out on</th> >-- >1.7.2.5
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 11703
:
25105
|
25110
|
25111
|
25213
|
25217
|
25218
|
25220
|
25221
|
25261
|
25262
|
25263
|
25264
|
25271
|
25272
|
25289
|
25290
|
25292
|
25390
|
25391
|
25986
|
25987
|
25988
|
25989
|
25990
|
25991
|
25992
|
25993
|
25994
|
25995
|
25996
|
25997
|
25998
|
25999
|
26081
|
26085
|
26115
|
26131
|
26158
|
26160
|
26241
|
26986
|
26990
|
26991
|
27102
|
27241
|
27338
|
27339
|
27340
|
27341
|
27342
|
27349
|
27350
|
27353
|
27354
|
27356
|
27548
|
27610
|
27717
|
27718
|
27745
|
27746
|
27750
|
27751
|
28025
|
28026
|
28027
|
28028
|
28029
|
29195
|
29196
|
29197
|
29198
|
29199
|
29279
|
29280
|
29281
|
29282
|
29283
|
29284
|
29419
|
29420
|
29432
|
29433
|
29434
|
29438
|
29439
|
29440
|
29444
|
29445
|
29446
|
29447
|
29448
|
29449
|
29450
|
29451
|
29452
|
29453
|
29454
|
29472
|
29473
|
29474
|
29475
|
29476
|
29477
|
29478
|
29479
|
29480
|
29493
|
30228