weekend commit
This commit is contained in:
parent
cbeb0eba12
commit
546658093b
@ -24,6 +24,7 @@ import se.su.dsv.scipro.data.dataobjects.User;
|
||||
public class UpcomingEventPanel extends Panel{
|
||||
|
||||
/**
|
||||
* @author Fredrik Norberg - fnorbe@dsv.su.se
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 4481663857329726445L;
|
||||
@ -58,9 +59,9 @@ public class UpcomingEventPanel extends Panel{
|
||||
List<Event> list = eventDao.getEventsByUserAndProject(user, project,
|
||||
new Date(), null, null);
|
||||
Collections.reverse(list);
|
||||
if(amountToShow < list.size()){
|
||||
/*if(amountToShow < list.size()){
|
||||
list = list.subList(0, amountToShow);
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
return list;
|
||||
|
Loading…
x
Reference in New Issue
Block a user