Ignore:
Timestamp:
Feb 18, 2010, 3:50:42 AM (14 years ago)
Author:
gav
Message:

Some detailing of InventoryItem views.

File:
1 edited

Legend:

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

    r375 r382  
    1313    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager', 'ROLE_InventoryUser'])
    1414    def index = { redirect(action:search, params:params) }
    15 
    16     @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager', 'ROLE_InventoryUser'])
    17     def list = {
    18         params.max = Math.min( params.max ? params.max.toInteger() : 10,  100)
    19         [ inventoryItemInstanceList: InventoryItem.list( params ), inventoryItemInstanceTotal: InventoryItem.count() ]
    20     }
    2115
    2216    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager', 'ROLE_InventoryUser'])
Note: See TracChangeset for help on using the changeset viewer.