1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-23 01:29:41 +01:00

image query change

This commit is contained in:
Matthias Kretschmann 2021-05-23 12:52:05 +02:00
parent 691c4bc64e
commit d032e2258a
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -100,8 +100,8 @@ export const projectQuery = graphql`
}
projectImages: allImageSharp(
filter: { fluid: { originalName: { regex: $imageRegex } } }
sort: { fields: [fluid___originalName], order: ASC }
filter: { original: { src: { regex: $imageRegex } } }
sort: { fields: [original___src], order: ASC }
) {
edges {
node {