Skip to content

Commit

Permalink
Merge pull request #5547 from Aryakoste/feature-tag-fix
Browse files Browse the repository at this point in the history
Feature tag fixed in Events page
  • Loading branch information
iArchitSharma authored May 27, 2024
2 parents ab029a5 + a11f407 commit 5b14cfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/templates/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Meetups from "../sections/Events/index";
export const query = graphql`query allCategories($skip: Int!, $limit: Int!) {
allCategories: allMdx(
sort: {fields: [frontmatter___date], order: DESC}
filter: {fields: {collection: {eq: "events"}}, frontmatter: {published: {eq: true}}}
filter: {fields: {collection: {eq: "events"}}, frontmatter: {published: {eq: true}, feature: {ne: false}}}
skip: $skip
limit: $limit
) {
Expand Down Expand Up @@ -113,7 +113,7 @@ export const query = graphql`query allCategories($skip: Int!, $limit: Int!) {
}
}
}
allEvents: allMdx(filter: {frontmatter: {type: {eq: "Event"}, published: {eq: true}}}) {
allEvents: allMdx(filter: {frontmatter: {type: {eq: "Event"}, published: {eq: true}, feature: {ne: false}}}) {
nodes {
id
fields {
Expand Down Expand Up @@ -144,7 +144,7 @@ export const query = graphql`query allCategories($skip: Int!, $limit: Int!) {
}
}
allUpcoming: allMdx(
filter: {frontmatter: {upcoming: {eq: true}}, fields: {collection: {eq: "events"}}}
filter: {frontmatter: {upcoming: {eq: true}, feature: {ne: false}}, fields: {collection: {eq: "events"}}}
sort: {fields: frontmatter___date, order: DESC}
) {
nodes {
Expand Down

0 comments on commit 5b14cfa

Please sign in to comment.