Changeset 871 for trunk


Ignore:
Timestamp:
Mar 16, 2011, 7:56:34 AM (14 years ago)
Author:
gav
Message:

Replace leadPerson with primaryAsset in task search and searchCalendar export.

File:
1 edited

Legend:

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

    r869 r871  
    159159            response.contentType = ConfigurationHolder.config.grails.mime.types[params.format]
    160160            response.setHeader("Content-disposition", "attachment; filename=Tasks.${params.extension}")
    161             List fields = ["id", "targetStartDate", "description", "leadPerson", "taskPriority", "taskType", "taskStatus"]
    162             Map labels = ["id": "ID", "targetStartDate": "Target Start Date", "description": "Description",
    163                                     "leadPerson": "Lead Person", "taskPriority": "Task Priority",
     161            List fields = ["id", "targetStartDate", "primaryAsset", "description", "taskPriority", "taskType", "taskStatus"]
     162            Map labels = ["id": "Task #", "targetStartDate": "Target Start Date", "primaryAsset": "Asset",
     163                                    "description": "Description", "taskPriority": "Task Priority",
    164164                                    "taskType": "Task Type", "taskStatus": "Task Status"]
    165165            Map formatters = [ targetStartDate: dateFmt]
     
    320320            response.contentType = ConfigurationHolder.config.grails.mime.types[params.format]
    321321            response.setHeader("Content-disposition", "attachment; filename=Tasks.${params.extension}")
    322             List fields = ["id", "targetStartDate", "description", "leadPerson", "taskPriority", "taskType", "taskStatus"]
    323             Map labels = ["id": "ID", "targetStartDate": "Target Start Date", "description": "Description",
    324                                     "leadPerson": "Lead Person", "taskPriority": "Task Priority",
     322            List fields = ["id", "targetStartDate", "primaryAsset", "description", "taskPriority", "taskType", "taskStatus"]
     323            Map labels = ["id": "Task #", "targetStartDate": "Target Start Date", "primaryAsset": "Asset",
     324                                    "description": "Description", "taskPriority": "Task Priority",
    325325                                    "taskType": "Task Type", "taskStatus": "Task Status"]
    326326            Map formatters = [ targetStartDate: dateFmt]
Note: See TracChangeset for help on using the changeset viewer.