feat: Increase data retrieval limits in purchase and sales pages
- Updated API calls in the purchase and sales item pages to increase the data size limit from 500 to 5000, enhancing the ability to fetch larger datasets. - This change aims to improve performance and user experience by allowing more data to be loaded in a single request across multiple company implementations.
This commit is contained in:
@@ -819,7 +819,7 @@ export default function SupplierManagementPage() {
|
||||
const filters: any[] = [];
|
||||
if (itemSearchKeyword) filters.push({ columnName: "item_name", operator: "contains", value: itemSearchKeyword });
|
||||
const res = await apiClient.post(`/table-management/tables/item_info/data`, {
|
||||
page: 1, size: 500,
|
||||
page: 1, size: 5000,
|
||||
dataFilter: filters.length > 0 ? { enabled: true, filters } : undefined,
|
||||
autoFilter: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user