Changeset 250 for trunk/grails-app/controllers
- Timestamp:
- Dec 27, 2009, 10:16:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/PersonController.groovy
r178 r250 17 17 params.max = Math.min( params.max ? params.max.toInteger() : 10, 100 ) 18 18 19 if(!params.filter) 20 { return [personList: Person.list(params), personTotal: Person.count()] } 19 if(!params.filter) { 20 return [personList: Person.list(params), 21 personTotal: Person.count(), 22 filterParams: params] 23 } 21 24 22 25 // filterPane:
Note: See TracChangeset
for help on using the changeset viewer.