[open-ils-commits] r19962 - trunk/Open-ILS/web/js/ui/default/acq/po (gmc)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Apr 4 13:05:27 EDT 2011
Author: gmc
Date: 2011-04-04 13:05:23 -0400 (Mon, 04 Apr 2011)
New Revision: 19962
Modified:
trunk/Open-ILS/web/js/ui/default/acq/po/view_po.js
Log:
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 <gmc at esilibrary.com>
Modified: trunk/Open-ILS/web/js/ui/default/acq/po/view_po.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/po/view_po.js 2011-04-04 16:53:57 UTC (rev 19961)
+++ trunk/Open-ILS/web/js/ui/default/acq/po/view_po.js 2011-04-04 17:05:23 UTC (rev 19962)
@@ -399,7 +399,7 @@
{ 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) {
More information about the open-ils-commits
mailing list