Changeset 747


Ignore:
Timestamp:
Jan 20, 2011, 3:33:07 PM (9 years ago)
Author:
gav
Message:

Allow 100 MaintenanceActions? in Task show view.

File:
1 edited

Legend:

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

    r713 r747  
    440440            }
    441441
    442             params.order = "asc"
    443             params.sort = "procedureStepNumber"
    444             def maintenanceActionList = MaintenanceAction.findAllByTaskProcedure(taskProcedureInstance, params)
     442            def maParams = [:]
     443            maParams.max = 100
     444            maParams.order = "asc"
     445            maParams.sort = "procedureStepNumber"
     446            def maintenanceActionList = MaintenanceAction.findAllByTaskProcedure(taskProcedureInstance, maParams)
    445447
    446448            def taskRecurringScheduleInstance = TaskRecurringSchedule.get(taskInstance.taskRecurringSchedule?.id)
Note: See TracChangeset for help on using the changeset viewer.