Changeset 961


Ignore:
Timestamp:
11/23/11 13:44:55 (6 years ago)
Author:
gav
Message:

Set params.max to 100, 1000 for list views of CostCode, InventoryLocation, InventoryStore, Supplier.

Location:
trunk/grails-app/controllers
Files:
4 edited

Legend:

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

    r954 r961  
    1212 
    1313    def list = { 
    14         params.max = Math.min( params.max ? params.max.toInteger() : 10,  100) 
     14        params.max = Math.min( params.max ? params.max.toInteger() : 100, 1000 ) 
    1515        def associatedPropertyMax = 1000 
    1616        def associatedPropertyValues = [:] 
  • trunk/grails-app/controllers/InventoryLocationDetailedController.groovy

    r958 r961  
    1414    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager', 'ROLE_InventoryUser']) 
    1515    def list = { 
    16         params.max = Math.min( params.max ? params.max.toInteger() : 10,  100) 
     16        params.max = Math.min( params.max ? params.max.toInteger() : 100, 1000 ) 
    1717        def associatedPropertyMax = 1000 
    1818        def associatedPropertyValues = [:] 
  • trunk/grails-app/controllers/InventoryStoreDetailedController.groovy

    r957 r961  
    1313 
    1414    def list = { 
    15         params.max = Math.min( params.max ? params.max.toInteger() : 10,  100) 
     15        params.max = Math.min( params.max ? params.max.toInteger() : 100, 1000 ) 
    1616        def associatedPropertyMax = 1000 
    1717        def associatedPropertyValues = [:] 
  • trunk/grails-app/controllers/SupplierDetailedController.groovy

    r955 r961  
    1212 
    1313    def list = { 
    14         params.max = Math.min( params.max ? params.max.toInteger() : 10,  100) 
     14        params.max = Math.min( params.max ? params.max.toInteger() : 100, 1000 ) 
    1515        def associatedPropertyMax = 1000 
    1616        def associatedPropertyValues = [:] 
Note: See TracChangeset for help on using the changeset viewer.