From: gmc Date: Mon, 4 Apr 2011 17:05:23 +0000 (+0000) Subject: order line items in PO display by line item ID X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2c24c04ed3efc94ffd7bc0e5ab588b7def4a4dea;p=evergreen%2Fbjwebb.git 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/trunk@19962 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 cec6abc96..ee643eb12 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) {