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