mirror of https://gitlab.com/tildes/tildes.git
Browse Source
Simplify bookmark page querying, drop pagination
Simplify bookmark page querying, drop pagination
Pagination isn't working correctly for bookmarks yet, and it seems like it'll take some fiddly work to be able to make PaginatedQuery be able to handle using the bookmark's created_time instead of the post's. This just simplifies the method by using an inner join on the bookmarks instead of an EXISTS subquery, and totally removes pagination for now.merge-requests/51/head
Deimos
6 years ago
3 changed files with 22 additions and 17 deletions
-
10tildes/tildes/models/comment/comment_query.py
-
10tildes/tildes/models/topic/topic_query.py
-
19tildes/tildes/views/bookmarks.py
Write
Preview
Loading…
Cancel
Save
Reference in new issue