From 215748a0334931ead209d6ad08b82a18e950ef8e Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Wed, 3 Jul 2013 17:56:22 +0200 Subject: [PATCH] Migrate to new datatables search method. --- lib/NGCP/Panel/Controller/Billing.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/NGCP/Panel/Controller/Billing.pm b/lib/NGCP/Panel/Controller/Billing.pm index ee00dfbd57..8062059da8 100644 --- a/lib/NGCP/Panel/Controller/Billing.pm +++ b/lib/NGCP/Panel/Controller/Billing.pm @@ -60,7 +60,7 @@ sub ajax :Chained('profile_list') :PathPart('ajax') :Args(0) { $c->forward( "/ajax_process_resultset", [$resultset, ["id", "name"], - [0,1]]); + ["id", "name"]]); $c->detach( $c->view("JSON") ); } @@ -176,8 +176,8 @@ sub fees_ajax :Chained('fees_list') :PathPart('ajax') :Args(0) { }); $c->forward( "/ajax_process_resultset", [$resultset, - ["id", "source", "destination", "direction", 'zone'], - [1,2,3]]); + ["id", "source", "destination", "direction", "zone"], + ["source", "destination", "direction"]]); $c->detach( $c->view("JSON") ); } @@ -325,7 +325,7 @@ sub zones_ajax :Chained('zones_list') :PathPart('ajax') :Args(0) { $c->forward( "/ajax_process_resultset", [$resultset, ["id", "zone", "detail",], - [1,2]]); + ["zone", "detail"]]); $c->detach( $c->view("JSON") ); } @@ -491,7 +491,7 @@ sub peaktime_specials_ajax :Chained('peaktimes_list') :PathPart('ajax') :Args(0) $c->forward( "/ajax_process_resultset", [$resultset, ["id", "start", "end",], - [1,2]]); + ["start", "end"]]); for my $row (@{ $c->stash->{aaData} }) { my $date = $row->[1]->date;