forked from Archives/Athou_commafeed
remove potential duplicates
This commit is contained in:
@@ -54,7 +54,7 @@ public class FeedDAO extends GenericDAO<Feed> {
|
|||||||
query.where(disabledDatePredicate);
|
query.where(disabledDatePredicate);
|
||||||
}
|
}
|
||||||
|
|
||||||
return query.orderBy(feed.disabledUntil.asc()).limit(count).list(feed);
|
return query.orderBy(feed.disabledUntil.asc()).limit(count).distinct().list(feed);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Feed findByUrl(String normalizedUrl) {
|
public Feed findByUrl(String normalizedUrl) {
|
||||||
|
|||||||
Reference in New Issue
Block a user