Changeset 660 for trunk/grails-app


Ignore:
Timestamp:
Sep 24, 2010, 8:17:54 PM (14 years ago)
Author:
gav
Message:

Bug fix for ticket #83.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/InventoryItemSearchService.groovy

    r646 r660  
    156156                                    and "p.inventoryItemPurchaseType.id = 1" // Order Placed.
    157157                                    and "p.receivedComplete = false"
     158                                    and "p.date > :oneMonthAgo"
    158159                        }
    159160
     161                        namedParams.oneMonthAgo = new Date() - 30
    160162                        and "not exists ($onBackOrder.query)"
    161163                    }
Note: See TracChangeset for help on using the changeset viewer.