Sort by rank
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
<template>
|
||||
<Layout>
|
||||
<TagFilterHeader :tags="tags" selected="all" v-if="$page.tags.edges.length > 1"/>
|
||||
<TagFilterHeader
|
||||
:tags="tags"
|
||||
selected="all"
|
||||
v-if="$page.tags.edges.length > 1"
|
||||
/>
|
||||
<div class="container mt-8 sm:pxi-0 mx-auto overflow-x-hidden">
|
||||
<div class="flex flex-wrap with-large pt-8 pb-8 mx-4 sm:-mx-4">
|
||||
<PostListItem
|
||||
@@ -16,7 +20,7 @@
|
||||
|
||||
<page-query>
|
||||
query ($private: Int){
|
||||
entries: allProject (sortBy: "rank", order: DESC, filter: { private: { ne: $private }, tags: { id: {in: ["blockchain", "experience", "technology", "farming", "community", "infrastructure", "impact"]}}}){
|
||||
entries: allProject (sortBy: "rank", order: ASC, filter: { private: { ne: $private }, category: { contains: ["foundation"]}}){
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
|
||||
Reference in New Issue
Block a user