manually set position

This commit is contained in:
Athou
2013-06-04 10:11:16 +02:00
parent dade3c4d08
commit 075c3b6b61
6 changed files with 19 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ public class FeedSubscriptionService {
newSubscription = true;
}
sub.setCategory(category);
sub.setPosition(0);
sub.setTitle(FeedUtils.truncate(title, 128));
feedSubscriptionDAO.saveOrUpdate(sub);