Author: sichen
Date: Thu Mar 22 15:30:57 2007
New Revision: 521508
URL:
http://svn.apache.org/viewvc?view=rev&rev=521508Log:
Fix orderby in inventory reservation services
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml?view=diff&rev=521508&r1=521507&r2=521508==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml Thu Mar 22 15:30:57 2007
@@ -550,7 +550,8 @@
</iterate>
<!-- sort the list by date -->
- <order-value-list list-name="reservations" order-by-list-name="reservedDatetime"/>
+ <string-to-list string="reservedDatetime" list-name="orderByList"/>
+ <order-value-list list-name="reservations" order-by-list-name="orderByList"/>
<list-to-list list-name="privilegedReservations" to-list-name="allReservations"/>
<list-to-list list-name="reservations" to-list-name="allReservations"/>