Sorting in createPage doesn't sort the nodes-keep sorting in query for gallery
This commit is contained in:
parent
78891579d5
commit
427b8ebff9
@ -56,7 +56,7 @@ export const query = graphql`
|
|||||||
query GalleryPageQuery {
|
query GalleryPageQuery {
|
||||||
allFile(filter: {
|
allFile(filter: {
|
||||||
sourceInstanceName: { eq: "gallery" }}
|
sourceInstanceName: { eq: "gallery" }}
|
||||||
# sort: {order: DESC, fields: childrenImageSharp___fields___imageMeta___dateTaken}
|
sort: {order: DESC, fields: childrenImageSharp___fields___imageMeta___dateTaken}
|
||||||
) {
|
) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user