Hi,
The line "reviews = product.getRelatedCache("ProductReview", null, UtilMisc.toList("-postedDateTime"));" is within,
"applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productsummary.bsh"
I think this line creates a query, "select * from Product_Review order by posted_Date_Time desc";
The symbol "-" inside UtilMisc.toList("-postedDateTime") says the order is descending.
The null inside the statement product.getRelatedCache("ProductReview",null,...) denotes that there is no any condition in this query.
This line is essential for displaying the small images for the selected category.
Can anyone please give me your suggestions if I am correct or not.
Regards
S.Purani
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users