Changeset 613


Ignore:
Timestamp:
Jun 27, 2010, 10:59:16 PM (10 years ago)
Author:
gav
Message:

Always show top pagination buttons on task search view when there are multiple pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/taskDetailed/search.gsp

    r593 r613  
    7373            <br />
    7474
    75             <g:if test="${taskInstanceList.size() > 10}">
    76                 <g:if test="${taskInstanceTotal > taskInstanceList.size()}">
    77                     <div class="paginateButtons">
    78                         <g:paginate total="${taskInstanceTotal}" params="${filterParams}" />
    79                     </div>
    80                 </g:if>
     75            <g:if test="${taskInstanceTotal > taskInstanceList.size()}">
     76                <div class="paginateButtons">
     77                    <g:paginate total="${taskInstanceTotal}" params="${filterParams}" />
     78                </div>
    8179            </g:if>
    8280
     
    182180            </g:if>
    183181            <div class="paginateButtons">
    184                 <g:paginate  action="search" total="${taskInstanceTotal}" params="${filterParams}" />
     182                <g:paginate action="search" total="${taskInstanceTotal}" params="${filterParams}" />
    185183            </div>
    186184
Note: See TracChangeset for help on using the changeset viewer.