Sort libraryEvents so watch history is in correct order
This commit is contained in:
parent
ba6ed8967c
commit
1abac0ac0e
@ -1,6 +1,9 @@
|
|||||||
query ($slug: String!) {
|
query ($slug: String!) {
|
||||||
findProfileBySlug(slug: $slug) {
|
findProfileBySlug(slug: $slug) {
|
||||||
libraryEvents(first: 100, kind: [PROGRESSED, UPDATED]) {
|
libraryEvents(first: 100, kind: [PROGRESSED, UPDATED], sort: [{
|
||||||
|
direction: DESCENDING,
|
||||||
|
on: UPDATED_AT,
|
||||||
|
}]) {
|
||||||
nodes {
|
nodes {
|
||||||
id
|
id
|
||||||
changedData
|
changedData
|
||||||
|
Loading…
Reference in New Issue
Block a user