OrderItemRepository.cs question

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

OrderItemRepository.cs question

Post by AbleMods » Fri Jun 07, 2013 9:22 am

Take a quick look at the code in this method in OrderItemRepository.cs

Code: Select all

        public IList<OrderItem> LoadForOrderItemType(OrderItemType orderItemType, DateTime startDate, DateTime endDate, int maximumRows, int startRowIndex)
At first glance, it appears to pull order items by order date range. Handy.

Except there's no nHibernate join in the criteria and the query fails.

Am I missing something?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply