🚸 Increase page size of once query
This commit is contained in:
parent
403639088f
commit
0b34a4b74b
@ -40,7 +40,7 @@ class FoodDataController extends GetxController {
|
||||
queryParameters: {
|
||||
'query': probe,
|
||||
'dataType': getDataCollections()?.join(','),
|
||||
'pageSize': 25,
|
||||
'pageSize': 100,
|
||||
'pageNumber': 1,
|
||||
'sortBy': 'dataType.keyword',
|
||||
'sortOrder': 'asc',
|
||||
|
@ -134,7 +134,7 @@ class FoodSearchCriteria {
|
||||
numberOfResultsPerPage: json["numberOfResultsPerPage"],
|
||||
pageSize: json["pageSize"],
|
||||
requireAllWords: json["requireAllWords"],
|
||||
foodTypes: List<FoodType>.from(
|
||||
foodTypes: List<FoodType?>.from(
|
||||
json["foodTypes"]?.map((x) => typeValues.map[x]) ?? List.empty()),
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user