fixed searches for clickedCount

This commit is contained in:
Moriz Wahl 2021-02-22 22:24:27 +01:00
parent 96066eae02
commit b16e4a926c
2 changed files with 2 additions and 2 deletions

View File

@ -338,7 +338,6 @@ export default {
shoutedCount:
'<-[:SHOUTED]-(related:User) WHERE NOT related.deleted = true AND NOT related.disabled = true',
emotionsCount: '<-[related:EMOTED]-(:User)',
clickedCount: '<-[related:CLICKED]-(:User)',
},
boolean: {
shoutedByCurrentUser:

View File

@ -38,7 +38,8 @@ const searchPostsSetup = {
__typename: labels(resource)[0],
author: properties(author),
commentsCount: toString(size(comments)),
shoutedCount: toString(size(shouter))
shoutedCount: toString(size(shouter)),
clickedCount: toString(resource.clickedCount)
}`,
limit: 'LIMIT $limit',
}