Changeset 566 for trunk/grails-app/domain
- Timestamp:
- Jun 3, 2010, 4:31:44 AM (15 years ago)
- Location:
- trunk/grails-app/domain
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/InventoryGroup.groovy
r116 r566 12 12 13 13 String toString() {"${this.name}"} 14 15 static searchable = { 16 root false // only index as a component of InventoryItem. 17 only = ['name'] 18 } 19 14 20 } -
trunk/grails-app/domain/InventoryItem.groovy
r562 r566 62 62 63 63 static searchable = { 64 only = ['name', 'description', 'comment', 'i nventoryLocation', 'spareFor']64 only = ['name', 'description', 'comment', 'isActive', 'isObsolete', 'inventoryLocation', 'inventoryGroup', 'spareFor'] 65 65 //name boost: 1.5 66 66 inventoryLocation component: true 67 inventoryGroup component: true 67 68 spareFor component: true 68 69 }
Note: See TracChangeset
for help on using the changeset viewer.