Changeset 791

Show
Ignore:
Timestamp:
09-08-10 15:12:19 (4 years ago)
Author:
vinlud
Message:

Results linking properly to study details

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/simpleQuery/common/_query.gsp

    r789 r791  
    8383                <g:each in="${listStudies}" var="Study" status="i" > 
    8484                  <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 
    85                     <td><g:link url="[action:'show',controller:'study']" id="${Study.id}">${fieldValue(bean: Study, field: "id")}</g:link></td> 
    86                     <td><g:link url="[action:'show',controller:'study']" id="${Study.id}">${fieldValue(bean: Study, field: "title")}</g:link></td> 
    87                     <td><g:link url="[action:'show',controller:'study']" id="${Study.id}"></g:link></td> 
     85                    <td><g:link url="[action:'show',controller:'study', id:Study.id]">${fieldValue(bean: Study, field: "id")}</g:link></td> 
     86                    <td><g:link url="[action:'show',controller:'study', id:Study.id]">${fieldValue(bean: Study, field: "title")}</g:link></td> 
     87                    <td><g:link url="[action:'show',controller:'study', id:Study.id]"></g:link></td> 
    8888                  </tr> 
    8989                </g:each>