From 397c4c49a8dab4e7683ccf6c6047759da5e4f778 Mon Sep 17 00:00:00 2001 From: hamzaabamboo Date: Thu, 16 May 2024 04:36:35 +0000 Subject: [PATCH] feat: stop hiding featured project --- apps/astro/src/pages/[locale]/projects/index.astro | 3 ++- libs/graphql/queries/fetchProjects.gql | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/astro/src/pages/[locale]/projects/index.astro b/apps/astro/src/pages/[locale]/projects/index.astro index ced7b6e..028db45 100644 --- a/apps/astro/src/pages/[locale]/projects/index.astro +++ b/apps/astro/src/pages/[locale]/projects/index.astro @@ -20,7 +20,8 @@ if (!validateLocale(locale)) { //TODO: const data = await graphQLSdk.fetchProjects({ - // locale + // locale, + limit: 75 }); const projects = data?.projects?.data ?? []; diff --git a/libs/graphql/queries/fetchProjects.gql b/libs/graphql/queries/fetchProjects.gql index 77627c5..399d222 100644 --- a/libs/graphql/queries/fetchProjects.gql +++ b/libs/graphql/queries/fetchProjects.gql @@ -1,7 +1,6 @@ -query fetchProjects($limit: Int = 100, $isFeatured: Boolean = false, $locale: I18NLocaleCode) { +query fetchProjects($limit: Int = 100, $locale: I18NLocaleCode) { projects( pagination: { pageSize: $limit } - filters: { isFeatured: { eq: $isFeatured } } sort: ["isFeatured:desc", "date:desc"] locale: $locale ) {