Changeset 562 for trunk/grails-app/domain/InventoryItem.groovy
- Timestamp:
- Jun 2, 2010, 4:31:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/InventoryItem.groovy
r484 r562 61 61 String toString() {"${this.name}"} 62 62 63 static searchable = { 64 only = ['name', 'description', 'comment', 'inventoryLocation', 'spareFor'] 65 //name boost: 1.5 66 inventoryLocation component: true 67 spareFor component: true 68 } 69 63 70 def afterInsert = { 64 71 addReverseAlternateItems()
Note: See TracChangeset
for help on using the changeset viewer.