summaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2009-10-15 23:40:43 +0000
committerBrett Porter <brett@apache.org>2009-10-15 23:40:43 +0000
commit9d8b2bddec26218a44e68248beb82f54fc724c53 (patch)
treebfd4b17e760cc09155e588a8fe27cad9983730bf /archiva-modules
parentfa096dfcdba34db4c487b81f879f4211e8964008 (diff)
downloadarchiva-9d8b2bddec26218a44e68248beb82f54fc724c53.tar.gz
archiva-9d8b2bddec26218a44e68248beb82f54fc724c53.zip
[MRM-1266] results page fails when find artifact returns multiple results
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825701 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp11
1 files changed, 8 insertions, 3 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp
index 1e42318e0..5a92d85ab 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp
@@ -334,11 +334,16 @@
<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>