Changes between Version 4 and Version 5 of Ticket #30099
- Timestamp:
- Jan 12, 2019, 7:55:36 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30099 – Description
v4 v5 54 54 SELECT COUNT(U0."book_category") AS "cnt" 55 55 FROM "core_book" U0 WHERE U0."id" = ("core_author"."chat_id") 56 GROUP BY U0."id" HAVING COUNT(U0."book_category") > 356 GROUP BY U0."id" 57 57 ORDER BY "cnt" ASC LIMIT 1) 58 58 AS "min_valuable_count" … … 60 60 }}} 61 61 62 Is there any way to remove {{{GROUP BY}}} in outer query without removing {{{.filter(cnt__gt=3)}}} in subquery? 62 Is there any way to remove {{{GROUP BY}}} in outer query without removing {{{.filter(cnt__gt=3)}}} in subquery? 63 Is {{{qs.query.group_by = None}}} ok?