mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
fixed searches for clickedCount
This commit is contained in:
parent
96066eae02
commit
b16e4a926c
@ -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:
|
||||
|
||||
@ -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',
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user