1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-01-03 10:25:00 +01:00

fix project image sorting

This commit is contained in:
Matthias Kretschmann 2018-07-14 02:18:22 +02:00
parent 2961edbb91
commit 2007fcb34e
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
}, },
"dependencies": { "dependencies": {
"file-saver": "^1.3.8", "file-saver": "^1.3.8",
"gatsby": "^2.0.0-beta.34", "gatsby": "^2.0.0-beta.35",
"gatsby-image": "^2.0.0-beta.6", "gatsby-image": "^2.0.0-beta.6",
"gatsby-plugin-favicon": "github:TuckerWhitehouse/gatsby-plugin-favicon#gatsby-v2", "gatsby-plugin-favicon": "github:TuckerWhitehouse/gatsby-plugin-favicon#gatsby-v2",
"gatsby-plugin-matomo": "^0.4.1", "gatsby-plugin-matomo": "^0.4.1",
@ -30,7 +30,7 @@
"gatsby-plugin-sass": "next", "gatsby-plugin-sass": "next",
"gatsby-plugin-sharp": "^2.0.0-beta.5", "gatsby-plugin-sharp": "^2.0.0-beta.5",
"gatsby-plugin-sitemap": "next", "gatsby-plugin-sitemap": "next",
"gatsby-source-filesystem": "next", "gatsby-source-filesystem": "^2.0.1-beta.4",
"gatsby-transformer-json": "next", "gatsby-transformer-json": "next",
"gatsby-transformer-sharp": "next", "gatsby-transformer-sharp": "next",
"gatsby-transformer-yaml": "next", "gatsby-transformer-yaml": "next",

View File

@ -123,7 +123,7 @@ export const projectAndProjectsQuery = graphql`
projectImages: allImageSharp( projectImages: allImageSharp(
filter: { fluid: { originalName: { regex: $slug } } } filter: { fluid: { originalName: { regex: $slug } } }
sort: { fields: [id], order: ASC } sort: { fields: [fluid___originalName], order: ASC }
) { ) {
edges { edges {
node { node {