Add filter

This commit is contained in:
samaradel
2021-02-22 12:06:33 +02:00
parent d1b3744acf
commit 7350ccdb89
8 changed files with 97 additions and 94 deletions

View File

@@ -36,7 +36,7 @@
<page-query>
query($page: Int){
entries: allBlog(perPage: 10, page: $page, sortBy: "created", order: DESC, filter: {category: { id: {in: ["farming"]}}}) @paginate{
entries: allBlog(perPage: 10, page: $page, sortBy: "created", order: DESC, filter: {category: { id: {in: ["tech", "foundation"]}}}) @paginate{
totalCount
pageInfo {
totalPages