From aa893030964a58ad00d38187c90f1d7a9d709ad4 Mon Sep 17 00:00:00 2001 From: Samruddhi <150183547+staware30@users.noreply.github.com> Date: Mon, 2 Dec 2024 12:57:38 -0800 Subject: [PATCH] DXI- 30198 (#185) * Search by ProgramName * filtered based on programName * search field text update --- blocks/gmo-program-header/gmo-program-header.js | 9 +++++---- blocks/gmo-program-list/gmo-program-list.js | 2 +- scripts/graphql.js | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/blocks/gmo-program-header/gmo-program-header.js b/blocks/gmo-program-header/gmo-program-header.js index 00f8cc6..e1edebf 100644 --- a/blocks/gmo-program-header/gmo-program-header.js +++ b/blocks/gmo-program-header/gmo-program-header.js @@ -1,5 +1,6 @@ import { decorateIcons } from '../../scripts/lib-franklin.js'; -import { graphqlCampaignByName } from '../../scripts/graphql.js'; +//import { graphqlCampaignByName } from '../../scripts/graphql.js'; +import { graphqlProgramByName } from '../../scripts/graphql.js'; import { statusMapping, productList, getMappingArray } from '../../scripts/shared-program.js'; export default async function decorate(block) { @@ -7,7 +8,7 @@ export default async function decorate(block) {