From 9aa7147f55fb23fe68d4633e23587fa929897de5 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Wed, 26 Jul 2017 15:07:38 -0400 Subject: [PATCH] webstaff: Apply ordering to retrieval of combined circs in item status list A minor thinko caused us to not impose an order-by clause on combined circ retrieval in the list view of the item status UI. Now we flesh and order by the combcirc class, rather than the circ class. Signed-off-by: Mike Rylander --- Open-ILS/web/js/ui/default/staff/cat/item/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/js/ui/default/staff/cat/item/app.js b/Open-ILS/web/js/ui/default/staff/cat/item/app.js index dba013ca79..2451ddd627 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/item/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/item/app.js @@ -74,7 +74,7 @@ function(egCore) { service.circFlesh = { flesh : 2, flesh_fields : { - circ : [ + combcirc : [ 'usr', 'workstation', 'checkin_workstation', @@ -85,7 +85,7 @@ function(egCore) { ], au : ['card'] }, - order_by : {circ : 'xact_start desc'}, + order_by : {combcirc : 'xact_start desc'}, limit : 1 } -- 2.11.0