feat: filter featured posts by view
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
"latest": [
|
||||
151, 53994, 54570, 54481, 54537, 54302, 53944, 55768, 55855, 56592, 54986,
|
||||
56875, 56873, 56666, 55996, 57407, 56249, 57858, 56973, 58600, 57399, 59737,
|
||||
61688, 69750
|
||||
61688, 69750, 62764
|
||||
],
|
||||
"comment": [54986],
|
||||
"comment_content": ["snowcherryblossom"]
|
||||
|
||||
@@ -728,6 +728,11 @@ export async function getFeed({
|
||||
createdAt: {
|
||||
gt: "${restrictedDate.toISOString()}",
|
||||
},
|
||||
stat: {
|
||||
viewDetailCount: {
|
||||
gt: 10
|
||||
},
|
||||
},
|
||||
metadata: {
|
||||
content: {
|
||||
path: "sources",
|
||||
@@ -743,6 +748,11 @@ export async function getFeed({
|
||||
path: "tags",
|
||||
array_starts_with: "short" # TODO: remove this
|
||||
}
|
||||
}, {
|
||||
content: {
|
||||
path: "tags",
|
||||
array_starts_with: "portfolio"
|
||||
}
|
||||
}]
|
||||
},
|
||||
OR: [
|
||||
|
||||
Reference in New Issue
Block a user