summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-02-28 12:50:28 -0500
committerJames Moger <james.moger@gitblit.com>2014-02-28 12:50:28 -0500
commitb26eda0dcd3ee91054895d03f7930b0b1bd03733 (patch)
tree4d805859192cb1dfe6129092a47837de1a79382a /src/main
parent182b87a291caff897b0d8a86a0a8013f6b7d6d99 (diff)
downloadgitblit-b26eda0dcd3ee91054895d03f7930b0b1bd03733.tar.gz
gitblit-b26eda0dcd3ee91054895d03f7930b0b1bd03733.zip
Exclude commit id from all author search links
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/gitblit/wicket/panels/ActivityPanel.java2
-rw-r--r--src/main/java/com/gitblit/wicket/panels/HistoryPanel.java2
-rw-r--r--src/main/java/com/gitblit/wicket/panels/SearchPanel.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/gitblit/wicket/panels/ActivityPanel.java b/src/main/java/com/gitblit/wicket/panels/ActivityPanel.java
index bbb7608d..35513bb3 100644
--- a/src/main/java/com/gitblit/wicket/panels/ActivityPanel.java
+++ b/src/main/java/com/gitblit/wicket/panels/ActivityPanel.java
@@ -90,7 +90,7 @@ public class ActivityPanel extends BasePanel {
String author = commit.getAuthorIdent().getName();
LinkPanel authorLink = new LinkPanel("author", "list", author,
GitSearchPage.class, WicketUtils.newSearchParameter(commit.repository,
- commit.getName(), author, Constants.SearchType.AUTHOR), true);
+ null, author, Constants.SearchType.AUTHOR), true);
setPersonSearchTooltip(authorLink, author, Constants.SearchType.AUTHOR);
commitItem.add(authorLink);
diff --git a/src/main/java/com/gitblit/wicket/panels/HistoryPanel.java b/src/main/java/com/gitblit/wicket/panels/HistoryPanel.java
index ecdad523..03502e64 100644
--- a/src/main/java/com/gitblit/wicket/panels/HistoryPanel.java
+++ b/src/main/java/com/gitblit/wicket/panels/HistoryPanel.java
@@ -159,7 +159,7 @@ public class HistoryPanel extends BasePanel {
String author = entry.getAuthorIdent().getName();
LinkPanel authorLink = new LinkPanel("commitAuthor", "list", author,
GitSearchPage.class,
- WicketUtils.newSearchParameter(repositoryName, objectId,
+ WicketUtils.newSearchParameter(repositoryName, null,
author, Constants.SearchType.AUTHOR));
setPersonSearchTooltip(authorLink, author, Constants.SearchType.AUTHOR);
item.add(authorLink);
diff --git a/src/main/java/com/gitblit/wicket/panels/SearchPanel.java b/src/main/java/com/gitblit/wicket/panels/SearchPanel.java
index a60cc930..5d0b2de1 100644
--- a/src/main/java/com/gitblit/wicket/panels/SearchPanel.java
+++ b/src/main/java/com/gitblit/wicket/panels/SearchPanel.java
@@ -93,7 +93,7 @@ public class SearchPanel extends BasePanel {
// author search link
String author = entry.getAuthorIdent().getName();
LinkPanel authorLink = new LinkPanel("commitAuthor", "list", author,
- GitSearchPage.class, WicketUtils.newSearchParameter(repositoryName, objectId,
+ GitSearchPage.class, WicketUtils.newSearchParameter(repositoryName, null,
author, Constants.SearchType.AUTHOR));
setPersonSearchTooltip(authorLink, author, Constants.SearchType.AUTHOR);
item.add(authorLink);