From d11f308a78686f819f9ee2ebf527e6a4f82cef3e Mon Sep 17 00:00:00 2001 From: gmc Date: Mon, 4 Apr 2011 18:01:44 +0000 Subject: [PATCH] order line items in PO display by line item ID Order was effectively random otherwise. Use case from at least one library indicates this change, but doesn't preclude later work to make the sort order more flexible. Signed-off-by: Galen Charlton git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19972 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/ui/default/acq/po/view_po.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/po/view_po.js b/Open-ILS/web/js/ui/default/acq/po/view_po.js index cec6abc96a..ee643eb122 100644 --- a/Open-ILS/web/js/ui/default/acq/po/view_po.js +++ b/Open-ILS/web/js/ui/default/acq/po/view_po.js @@ -399,7 +399,7 @@ function init() { { async: true, params: [ openils.User.authtoken, - {purchase_order:poId}, + [{purchase_order:poId}, {"order_by": {"jub": "id ASC"}}], {flesh_attrs:true, flesh_notes:true, flesh_cancel_reason:true, clear_marc:true} ], onresponse: function(r) { -- 2.11.0