Changeset 585 for trunk/grails-app/controllers
- Timestamp:
- Jun 8, 2010, 10:41:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/TaskDetailedController.groovy
r582 r585 10 10 def taskService 11 11 def taskSearchService 12 def taskReportService 12 13 def filterService 13 14 def exportService … … 197 198 params.max = Math.min( params.max ? params.max.toInteger() : 100, 1000 ) 198 199 200 def displayList = [] 199 201 def taskInstanceList = [] 200 202 def taskInstanceTotal … … 261 263 } 262 264 265 displayList = taskReportService.getWorkLoadSummary( 266 [taskInstanceList: taskInstanceList], RCU.getLocale(request) 267 ).displayList 268 263 269 // export plugin: 264 270 if(params?.format && params.format != "html") { … … 286 292 } 287 293 288 if(taskInstanceTotal > params.max)289 params.errorMessage = g.message(code:"task.search.calendar.text.too.many.results", args:[params.max])294 // if(taskInstanceTotal > params.max) 295 // params.errorMessage = g.message(code:"task.search.calendar.text.too.many.results", args:[params.max]) 290 296 291 297 // Add some basic params to filterParams. … … 293 299 filterParams.offset = params.offset?.toInteger() ?: 0 294 300 295 return[taskInstanceList: taskInstanceList, 301 return[displayList: displayList, 302 taskInstanceList: taskInstanceList, 296 303 taskInstanceTotal: taskInstanceTotal, 297 304 filterParams: filterParams,
Note: See TracChangeset
for help on using the changeset viewer.