Changeset 475 for trunk


Ignore:
Timestamp:
Apr 1, 2010, 8:19:19 AM (15 years ago)
Author:
gav
Message:

Add taskType to Task search view export.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/TaskDetailedController.groovy

    r474 r475  
    9999            response.contentType = ConfigurationHolder.config.grails.mime.types[params.format]
    100100            response.setHeader("Content-disposition", "attachment; filename=Tasks.${params.extension}")
    101             List fields = ["id", "targetStartDate", "description", "leadPerson", "taskPriority", "taskStatus"]
     101            List fields = ["id", "targetStartDate", "description", "leadPerson", "taskPriority", "taskType", "taskStatus"]
    102102            Map labels = ["id": "ID", "targetStartDate": "Target Start Date", "description": "Description",
    103                                     "leadPerson": "Lead Person", "taskPriority": "Task Priority", "taskStatus": "Task Status"]
     103                                    "leadPerson": "Lead Person", "taskPriority": "Task Priority",
     104                                    "taskType": "Task Type", "taskStatus": "Task Status"]
    104105            Map formatters = [ targetStartDate: dateFmt]
    105106            Map parameters = [title: title, separator: ","]
Note: See TracChangeset for help on using the changeset viewer.