From: Mike Rylander Date: Wed, 26 Jul 2017 19:07:38 +0000 (-0400) Subject: webstaff: Apply ordering to retrieval of combined circs in item status list X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9aa7147f55fb23fe68d4633e23587fa929897de5;p=working%2FEvergreen.git 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 --- 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 }