Skip to content

Commit 0c44c52

Browse files
committed
Don't show same collection twice in list of "Recently created collections".
Fix #77
1 parent 7d515cc commit 0c44c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/sql/collection_dao_queries.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
SELECT c.id AS collection_id \
21
collection.find_last_created = \
2+
SELECT DISTINCT c.id AS collection_id \
33
, c.slug AS collection_slug \
44
, u.name AS owner_name \
55
FROM collections_series cs \

0 commit comments

Comments
 (0)