Sort books by rating.

This commit is contained in:
Vishnu KS
2020-08-23 23:46:26 +05:30
parent 76f2f431c1
commit 02148006ae
2 changed files with 10 additions and 1 deletions

View File

@@ -12,6 +12,10 @@ exports.createPages = async function ({ actions, graphql }) {
eq: $categoryName
}
}
sort: {
fields: [rating]
order: DESC
}
){
edges {
node {