pagination on dns results fix
This commit is contained in:
+11
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user