Skip to content

Commit

Permalink
[FIXED JENKINS-9559] Added patch provided by Matt: ince the the value…
Browse files Browse the repository at this point in the history
… starts with a # the default sorter tried to
  • Loading branch information
mambu committed May 2, 2011
1 parent e2946f3 commit c91b9cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Expand Up @@ -58,6 +58,10 @@ public List<Run> getFinishedBuilds() {
return recentBuilds;
}

public String getBuildColumnSortData(Run<?, ?> build) {
return String.valueOf(build.getNumber());
}

@Extension
public static class DescriptorImpl extends Descriptor<DashboardPortlet> {

Expand Down
Expand Up @@ -41,7 +41,7 @@ THE SOFTWARE.
<!--t:jobLink job="${build.parent}"/-->
<dp:jobLink job="${build.parent}"/>
</td>
<td>
<td data="${it.getBuildColumnSortData(build)}">
<!-- This tag does not generate a build link relative to view for jobs included using regexp -->
<!--t:buildLink job="${build.parent}" jobName="${build.parent.displayName}" number="${build.number}" /-->
<a href="${h.getRelativeLinkTo(build.parent)}/${build.number}" tooltip="${build.description}">
Expand All @@ -55,4 +55,4 @@ THE SOFTWARE.
</j:forEach>
</table>
<!--t:buildListTable builds="${builds}" jobBaseUrl="" /-->
</j:jelly>
</j:jelly>

0 comments on commit c91b9cc

Please sign in to comment.