diff options
author | James Moger <james.moger@gitblit.com> | 2013-06-24 14:02:54 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-06-24 14:02:54 -0400 |
commit | 5abe3350a38b3cdfc28ac2839860d28b88f2306a (patch) | |
tree | 4ff7c87bcdd3f8cb7635a065bc13fb1b288f8713 /src/main/java/com/gitblit/wicket/pages/MyDashboardPage.java | |
parent | f59874809d61baf25244756cb280beaeecc33e96 (diff) | |
download | gitblit-5abe3350a38b3cdfc28ac2839860d28b88f2306a.tar.gz gitblit-5abe3350a38b3cdfc28ac2839860d28b88f2306a.zip |
Improve time filter language and handling of daysBack parameter
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/MyDashboardPage.java')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/MyDashboardPage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/MyDashboardPage.java b/src/main/java/com/gitblit/wicket/pages/MyDashboardPage.java index 69dadbd0..d951da31 100644 --- a/src/main/java/com/gitblit/wicket/pages/MyDashboardPage.java +++ b/src/main/java/com/gitblit/wicket/pages/MyDashboardPage.java @@ -94,7 +94,7 @@ public class MyDashboardPage extends DashboardPage { // parameters
int daysBack = params == null ? 0 : WicketUtils.getDaysBack(params);
if (daysBack < 1) {
- daysBack = 7;
+ daysBack = GitBlit.getInteger(Keys.web.activityDuration, 7);
}
Calendar c = Calendar.getInstance();
c.add(Calendar.DATE, -1*daysBack);
|