- Timestamp:
- Dec 27, 2009, 10:16:25 PM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 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: -
trunk/grails-app/views/person/list.gsp
r221 r250 38 38 <g:sortableColumn property="firstName" title="First Name" params="${filterParams}" /> 39 39 <g:sortableColumn property="lastName" title="Last Name" params="${filterParams}" /> 40 <g:sortableColumn property="isActive 40 <g:sortableColumn property="isActive" title="Active" params="${filterParams}" /> 41 41 <th></th> 42 42 </tr>
Note: See TracChangeset
for help on using the changeset viewer.