File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/headlines-search/bloc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ class HeadlinesSearchBloc
179179 // of 'eventCountry'. This ensures that only countries for which
180180 // there are associated headlines are returned.
181181 response = await _countryRepository.readAll (
182- filter: {'name ' : searchTerm, 'usage' : 'eventCountry' },
182+ filter: {'q ' : searchTerm, 'usage' : 'eventCountry' },
183183 pagination: PaginationOptions (
184184 limit: _limit,
185185 cursor: successState.cursor,
@@ -272,7 +272,7 @@ class HeadlinesSearchBloc
272272 // of 'eventCountry'. This ensures that only countries for which
273273 // there are associated headlines are returned.
274274 rawResponse = await _countryRepository.readAll (
275- filter: {'name ' : searchTerm, 'usage' : 'eventCountry' },
275+ filter: {'q ' : searchTerm, 'usage' : 'eventCountry' },
276276 pagination: const PaginationOptions (limit: _limit),
277277 sort: [const SortOption ('name' , SortOrder .asc)],
278278 );
You can’t perform that action at this time.
0 commit comments