- Timestamp:
- Feb 21, 2011, 5:41:37 PM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/TaskProcedureDetailedController.groovy
r809 r812 177 177 } 178 178 179 def listMaintenanceActions = { 180 def l = [] 181 MaintenanceAction.list().each { 182 println "$it.id - $it.procedureStepNumber, $it.description, $it.pageRef" 183 } 184 render "Done" 185 } 186 179 187 } -
trunk/grails-app/services/TaskProcedureService.groovy
r809 r812 77 77 return fail(code:"default.update.failure") 78 78 } 79 80 // Sort MaintenanceActions. 81 result.taskProcedureInstance.maintenanceActions.sort { p1, p2 -> p1.procedureStepNumber <=> p2.procedureStepNumber } 79 82 80 83 def r = createRevision(result.taskProcedureInstance) … … 149 152 } 150 153 154 // Sort MaintenanceActions. 155 result.taskProcedureInstance.maintenanceActions.sort { p1, p2 -> p1.procedureStepNumber <=> p2.procedureStepNumber } 156 151 157 def r = createRevision(result.taskProcedureInstance) 152 158 if(r.error)
Note: See TracChangeset
for help on using the changeset viewer.