left joins instead of cross joins

This commit is contained in:
Athou
2013-05-15 16:01:14 +02:00
parent 0876e918dc
commit 993bc0a1ac
3 changed files with 79 additions and 37 deletions

View File

@@ -69,7 +69,7 @@ public class EntryREST extends AbstractResourceREST {
List<Entry> list = Lists.newArrayList();
List<FeedEntryStatus> entriesStatus = feedEntryStatusDAO
.findByKeywords(getUser(), keywords, offset, limit, true);
.findByKeywords(getUser(), keywords, offset, limit);
for (FeedEntryStatus status : entriesStatus) {
list.add(Entry.build(status));
}