Skip to content

Commit

Permalink
fix(Saved Posts search): only show posts tagged with the exact tag re…
Browse files Browse the repository at this point in the history
…sults
  • Loading branch information
AlejandroAkbal committed Dec 3, 2021
1 parent abd65ff commit 87260d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/premium/saved-posts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default {
return POSTS.filter((POST) => {
// Filter that the post has to include every tag in the searchActiveTags array
return this.searchActiveTags.every((TAG) =>
POST.data.tags.includes(TAG.toLowerCase())
POST.data.tags.includes(TAG)
)
})
},
Expand Down

0 comments on commit 87260d6

Please sign in to comment.