pagination on dns results fix

This commit is contained in:
2022-02-09 13:49:56 +00:00
parent d1d86742ef
commit 42c0934c2c
5 changed files with 55 additions and 38 deletions
+11 -2
View File
@@ -183,7 +183,12 @@ export const getBasicDNSSearch = (searchString) => {
});
};
export const getBasicDNSSearchPaged = (pageNumber, orderBy, fieldSort) => {
export const getBasicDNSSearchPaged = (
pageNumber,
orderBy,
fieldSort,
showNumberOfRecords
) => {
return axios
.get(
"/api/endpoint/getbasicdnssearchpaged_api?pageNumber=" +
@@ -191,7 +196,9 @@ export const getBasicDNSSearchPaged = (pageNumber, orderBy, fieldSort) => {
"&orderby=" +
orderBy +
"&fieldSort=" +
fieldSort
fieldSort +
"&showNumberOfRecords=" +
showNumberOfRecords
)
.then((res) => res.data)
.catch((error) => {
@@ -775,6 +782,8 @@ export const updateCase = async (
data: data,
};
console.log(data);
return axios(config)
.then((res) => {
return res.data;