From 4192eed7b1d6e13c3481ab1fad945f6f99babfdf Mon Sep 17 00:00:00 2001 From: "massimiliano.assante" Date: Fri, 25 Oct 2013 06:17:03 +0000 Subject: [PATCH] doubles the notifications number reported in the page (from 30 to 60) git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/notifications@84148 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/notifications/server/NotificationsServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java b/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java index e4ab0a2..45e58a9 100644 --- a/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java @@ -121,7 +121,7 @@ public class NotificationsServiceImpl extends RemoteServiceServlet implements No public HashMap> getUserNotifications() { HashMap> toReturn = new HashMap>(); try { - for (Notification notification : store.getAllNotificationByUser(getASLSession().getUsername(), 30)) { + for (Notification notification : store.getAllNotificationByUser(getASLSession().getUsername(), 60)) { Date dateWithoutTime = removeTimePart(notification.getTime()); if (! toReturn.containsKey(dateWithoutTime)) { ArrayList nots = new ArrayList();