Changeset 516 for trunk/grails-app/controllers
- Timestamp:
- May 1, 2010, 2:20:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/TaskDetailedController.groovy
r513 r516 90 90 if(params.sort == "attentionFlag") // See ticket #64 in Trac. 91 91 params.sort = "id" 92 // Prevent tasks in the trash being returned unless explicitly requested. 93 if(!params.filter.op.trash) { 94 params.filter.op.trash = "Equal" 95 params.filter.trash = "false" 96 } 97 // Call filterService. 92 98 taskInstanceList = filterService.filter( params, Task ) 93 99 taskInstanceTotal = filterService.count( params, Task ) … … 198 204 if(isFilterApplied) { 199 205 // filterPane: 206 if(params.sort == "attentionFlag") // See ticket #64 in Trac. 207 params.sort = "id" 208 // Prevent tasks in the trash being returned unless explicitly requested. 209 if(!params.filter.op.trash) { 210 params.filter.op.trash = "Equal" 211 params.filter.trash = "false" 212 } 213 // Call filterService. 200 214 taskInstanceList = filterService.filter( params, Task ) 201 215 taskInstanceTotal = filterService.count( params, Task )
Note: See TracChangeset
for help on using the changeset viewer.