Changeset 835 for trunk


Ignore:
Timestamp:
Mar 3, 2011, 2:27:02 PM (14 years ago)
Author:
gav
Message:

Fix missing max and offset in TaskSearchService for person's tasks.

File:
1 edited

Legend:

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

    r737 r835  
    241241        def taskInstanceList = new PagedResultList(list, totalCount)
    242242        return taskInstanceList
    243     } // getPTasks()
     243    } // getTasks()
    244244
    245245    /**
     
    299299        q.select = "distinct task"
    300300        q.order = orderBy
     301        q.paginateParams.max = max
     302        q.paginateParams.offset = offset
    301303        def list = Task.executeQuery(q.query, q.namedParams, q.paginateParams)
    302304
     
    355357        q.select = "distinct task"
    356358        q.order = orderBy
     359        q.paginateParams.max = max
     360        q.paginateParams.offset = offset
    357361        def list = Task.executeQuery(q.query, q.namedParams, q.paginateParams)
    358362
Note: See TracChangeset for help on using the changeset viewer.