[open-ils-commits] r12693 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 26 14:34:37 EDT 2009
Author: erickson
Date: 2009-03-26 14:34:33 -0400 (Thu, 26 Mar 2009)
New Revision: 12693
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm
Log:
sort acqdf entries by position
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm 2009-03-26 18:33:46 UTC (rev 12692)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Picklist.pm 2009-03-26 18:34:33 UTC (rev 12693)
@@ -534,7 +534,11 @@
my $orgs = $U->user_has_work_perm_at($e, 'CREATE_PICKLIST', {descendants =>1});
my $forms = $e->search_acq_distribution_formula([
{owner => $orgs},
- {flesh => 1, flesh_fields => {acqdf => ['entries']}}
+ {
+ flesh => 1,
+ flesh_fields => {acqdf => ['entries']},
+ order_by => {acqdfe => ['position']}
+ }
]);
$conn->respond($_) for @$forms;
return undef;
More information about the open-ils-commits
mailing list