From 1d866165f0f9881ce1cea3bb064a442a63719c17 Mon Sep 17 00:00:00 2001 From: Peter Linnegan Date: Fri, 11 Jun 2021 17:12:07 +0100 Subject: [PATCH] fix: update generated meta filters --- src/components/CoFilters.js | 2 +- src/components/Page.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/CoFilters.js b/src/components/CoFilters.js index b7c7832..1938fbc 100644 --- a/src/components/CoFilters.js +++ b/src/components/CoFilters.js @@ -17,7 +17,7 @@ const CoFilters = ({ coMappings, setCoMappings }) => { - Category Name + Category Option Name Filter diff --git a/src/components/Page.js b/src/components/Page.js index de70da4..6bc031a 100644 --- a/src/components/Page.js +++ b/src/components/Page.js @@ -51,7 +51,7 @@ const generatedMeta = { generatedPis: { resource: 'programIndicators', params: { - filter: 'name:like:(generated)', + filter: 'name:like:rowId-', fields: 'id,code,description,aggregateExportCategoryOptionCombo,aggregateExportAttributeOptionCombo', paging: 'false', }, @@ -59,7 +59,7 @@ const generatedMeta = { generatedInds: { resource: 'indicators', params: { - filter: 'name:like:(generated)', + filter: 'name:like:rowId-', fields: 'id,code,description,aggregateExportCategoryOptionCombo,aggregateExportAttributeOptionCombo', paging: 'false', },