Changeset 419


Ignore:
Timestamp:
Mar 1, 2010, 7:47:36 AM (15 years ago)
Author:
gav
Message:

Default task search to attentionFlag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/TaskSearchService.groovy

    r260 r419  
    1111        params.max = Math.min(params?.max?.toInteger() ?: 10, paramsMax)
    1212        params.offset = params?.offset?.toInteger() ?: 0
    13         params.sort = params?.sort ?: "id"
     13        params.sort = params?.sort ?: "attentionFlag"
    1414        params.order = params?.order ?: "desc"
    1515
     
    2828        params.max = Math.min(params?.max?.toInteger() ?: 10, paramsMax)
    2929        params.offset = params?.offset?.toInteger() ?: 0
    30         params.sort = params?.sort ?: "id"
     30        params.sort = params?.sort ?: "attentionFlag"
    3131        params.order = params?.order ?: "desc"
    3232
     
    4646        params.max = Math.min(params?.max?.toInteger() ?: 10, paramsMax)
    4747        params.offset = params?.offset?.toInteger() ?: 0
    48         params.sort = params?.sort ?: "id"
     48        params.sort = params?.sort ?: "attentionFlag"
    4949        params.order = params?.order ?: "desc"
    5050
     
    6363        params.max = Math.min(params?.max?.toInteger() ?: 10, paramsMax)
    6464        params.offset = params?.offset?.toInteger() ?: 0
    65         params.sort = params?.sort ?: "id"
     65        params.sort = params?.sort ?: "attentionFlag"
    6666        params.order = params?.order ?: "desc"
    6767
     
    8181        params.max = Math.min(params?.max?.toInteger() ?: 10, paramsMax)
    8282        params.offset = params?.offset?.toInteger() ?: 0
    83         params.sort = params?.sort ?: "id"
     83        params.sort = params?.sort ?: "attentionFlag"
    8484        params.order = params?.order ?: "desc"
    8585
     
    9999        params.max = Math.min(params?.max?.toInteger() ?: 10, paramsMax)
    100100        params.offset = params?.offset?.toInteger() ?: 0
    101         params.sort = params?.sort ?: "id"
     101        params.sort = params?.sort ?: "attentionFlag"
    102102        params.order = params?.order ?: "desc"
    103103
Note: See TracChangeset for help on using the changeset viewer.