]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1266] results page fails when find artifact returns multiple results
authorBrett Porter <brett@apache.org>
Thu, 15 Oct 2009 23:40:43 +0000 (23:40 +0000)
committerBrett Porter <brett@apache.org>
Thu, 15 Oct 2009 23:40:43 +0000 (23:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825701 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp

index 1e42318e0d6caff3938c3b55c3d5b80a2dfd09f3..5a92d85abc87456d0755901073fff639a4683e56 100644 (file)
               <c:choose>
                 <c:when test="${not empty (artifactModel.groupId)}">
                   <h3 class="artifact-title">
-                    <archiva:showArtifactTitle groupId="${artifactModel.groupId}" artifactId="${artifactModel.artifactId}"/>
+                    <archiva:showArtifactTitle groupId="${artifactModel.groupId}"
+                                               artifactId="${artifactModel.artifactId}"
+                                               version="${artifactModel.version}"/>
+
                   </h3>
                   <p>
-                    <archiva:showArtifactLink groupId="${artifactModel.groupId}" artifactId="${artifactModel.artifactId}"
-                                         versions="${artifactModel.versions}"/>
+                    <archiva:showArtifactLink  groupId="${artifactModel.groupId}"
+                                               artifactId="${artifactModel.artifactId}"
+                                               version="${artifactModel.version}"/>
+
                   </p>
                 </c:when>
                 <c:otherwise>