From 6bbde46c74b10fcc3684292deedca715574ab135 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 25 Oct 2016 14:17:54 -0400 Subject: [PATCH] add limit and sorting to transit list fetch Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- Open-ILS/web/js/ui/default/staff/circ/transits/list.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/circ/transits/list.js b/Open-ILS/web/js/ui/default/staff/circ/transits/list.js index 6a876b47ec..e11a77adb0 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/transits/list.js +++ b/Open-ILS/web/js/ui/default/staff/circ/transits/list.js @@ -246,7 +246,10 @@ function($scope , $q , $routeParams , $window , egCore , egTransits , egGridData 'ahr' : ['usr'], 'au' : ['card'] }, - 'select' : { 'bre' : ['id'] } + 'select' : { 'bre' : ['id'] }, + order_by : { atc : 'source_send_time' }, + limit : count, + offset : offset, } ).then( deferred.resolve, null, -- 2.11.0