Mercurial > hg > LGServices
diff src/main/java/de/mpiwg/web/jsp/TopicListPage.java @ 57:5cbe567a9c52
new: a link to view section text in ext-interface on full text searching page. bug fixed: a default topicId passed when doing search and full text search
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 17 Feb 2016 14:58:19 +0100 |
parents | 95bf4ac726e6 |
children | b8ad346e39a0 |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/web/jsp/TopicListPage.java Tue Feb 16 15:14:18 2016 +0100 +++ b/src/main/java/de/mpiwg/web/jsp/TopicListPage.java Wed Feb 17 14:58:19 2016 +0100 @@ -60,7 +60,8 @@ this.completeTopicList = new ArrayList<LGTopic>(); - + + // TODO sometimes this.getSessionBean() will cause NullPointerException if(this.getSessionBean().getUser() != null){ for(LGTopic topic : DataProvider.getInstance().getTopics(this.getSessionBean().getUser().getId())){ @@ -75,6 +76,8 @@ sortByLastModifiedDown(); // default sorting by from lasted modified to oldest } + + }