From 18d398e3ab5227fe10fe3f322798a51ce0cd10ca Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Thu, 23 Feb 2012 17:44:53 -0500
Subject: [PATCH] Documentation
---
src/com/gitblit/models/SearchResult.java | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/com/gitblit/models/SearchResult.java b/src/com/gitblit/models/SearchResult.java
index 44207f0..2fa0db4 100644
--- a/src/com/gitblit/models/SearchResult.java
+++ b/src/com/gitblit/models/SearchResult.java
@@ -25,6 +25,10 @@
public String committer;
public String summary;
+
+ public String repository;
+
+ public String branch;
public String id;
@@ -37,6 +41,6 @@
@Override
public String toString() {
- return type.name() + ": " + id;
+ return score + " : " + type.name() + " : " + repository + " : " + id + " (" + branch + ")";
}
}
\ No newline at end of file
--
Gitblit v1.9.1