File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 "@dhis2/cli-app-scripts" : " ^12.6.4" ,
3535 "@dhis2/cli-style" : " ^10.7.9" ,
3636 "@dhis2/d2-i18n" : " ^1.1.0" ,
37- "@dhis2/ui" : " ^10.7 .7" ,
37+ "@dhis2/ui" : " ^10.12 .7" ,
3838 "@mihkeleidast/storybook-addon-source" : " ^1.0.1" ,
3939 "@storybook/preset-create-react-app" : " ^8.3.6" ,
4040 "@storybook/react" : " ^8.3.6" ,
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export const dataItemsQuery = {
8686 }
8787
8888 if ( searchTerm ) {
89- filters . push ( `${ nameProp } :ilike :${ searchTerm } ` )
89+ filters . push ( `identifiable:token :${ searchTerm } ` )
9090 }
9191
9292 return objectClean ( {
@@ -109,7 +109,7 @@ export const indicatorsQuery = {
109109 }
110110
111111 if ( searchTerm ) {
112- filters . push ( `${ nameProp } :ilike :${ searchTerm } ` )
112+ filters . push ( `identifiable:token :${ searchTerm } ` )
113113 }
114114
115115 return {
@@ -145,7 +145,7 @@ export const dataElementsQuery = {
145145 }
146146
147147 if ( searchTerm ) {
148- filters . push ( `${ nameProp } :ilike :${ searchTerm } ` )
148+ filters . push ( `identifiable:token :${ searchTerm } ` )
149149 }
150150
151151 return {
@@ -174,7 +174,7 @@ export const itemsByDimensionQuery = {
174174 const filters = [ ]
175175
176176 if ( searchTerm ) {
177- filters . push ( `${ nameProp } :ilike :${ searchTerm } ` )
177+ filters . push ( `identifiable:token :${ searchTerm } ` )
178178 }
179179
180180 return {
@@ -202,7 +202,7 @@ export const dataElementOperandsQuery = {
202202 }
203203
204204 if ( searchTerm ) {
205- filters . push ( `${ nameProp } :ilike :${ searchTerm } ` )
205+ filters . push ( `identifiable:token :${ searchTerm } ` )
206206 }
207207
208208 return {
@@ -221,7 +221,7 @@ export const dataSetsQuery = {
221221 const filters = [ ]
222222
223223 if ( searchTerm ) {
224- filters . push ( `${ nameProp } :ilike :${ searchTerm } ` )
224+ filters . push ( `identifiable:token :${ searchTerm } ` )
225225 }
226226
227227 if ( filter ?. group && filter . group !== DIMENSION_TYPE_ALL ) {
You can’t perform that action at this time.
0 commit comments