summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/operations.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/operations.graphql')
-rw-r--r--frontend/operations.graphql6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/operations.graphql b/frontend/operations.graphql
index 4ca665b..60efc09 100644
--- a/frontend/operations.graphql
+++ b/frontend/operations.graphql
@@ -401,7 +401,7 @@ query scrapeComic($id: Int!, $scraper: String!) {
}
}
-query frontpage {
+query frontpage($seed: Int!) {
recent: comics(pagination: { items: 6 }, sort: { on: CREATED_AT, direction: DESCENDING }) {
edges {
...Comic
@@ -411,7 +411,7 @@ query frontpage {
favourites: comics(
pagination: { items: 6 }
filter: { include: { favourite: true } }
- sort: { on: RANDOM }
+ sort: { on: RANDOM, seed: $seed }
) {
edges {
...Comic
@@ -421,7 +421,7 @@ query frontpage {
bookmarked: comics(
pagination: { items: 6 }
filter: { include: { bookmarked: true } }
- sort: { on: RANDOM }
+ sort: { on: RANDOM, seed: $seed }
) {
edges {
...Comic