Commit 3d7d26e
authored
Fix inaccurate tag counts on search when no query is entered (playfulprogramming#1254)
Fixes playfulprogramming#1253
`getAllPosts()` was returning nested/extra posts in collections,
including an additional copy of every FFG post.
In comparison, the searchIndex endpoint uses `getPostsByLang("en")`,
which does not.1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments