File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
src/collections/infra/repositories Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -221,10 +221,7 @@ export class CollectionsRepository extends ApiRepository implements ICollections
221221 }
222222
223223 if ( searchText ) {
224- queryParams . set (
225- GetMyDataCollectionItemsQueryParams . SEARCH_TEXT ,
226- encodeURIComponent ( searchText )
227- )
224+ queryParams . set ( GetMyDataCollectionItemsQueryParams . SEARCH_TEXT , searchText )
228225 }
229226
230227 roleIds . forEach ( ( roleId ) => {
@@ -315,10 +312,7 @@ export class CollectionsRepository extends ApiRepository implements ICollections
315312 collectionSearchCriteria : CollectionSearchCriteria
316313 ) {
317314 if ( collectionSearchCriteria . searchText ) {
318- queryParams . set (
319- GetCollectionItemsQueryParams . QUERY ,
320- encodeURIComponent ( collectionSearchCriteria . searchText )
321- )
315+ queryParams . set ( GetCollectionItemsQueryParams . QUERY , collectionSearchCriteria . searchText )
322316 }
323317
324318 if ( collectionSearchCriteria ?. itemTypes ) {
You can’t perform that action at this time.
0 commit comments