added column sort and arrows

This commit is contained in:
2022-01-28 19:35:07 +00:00
parent 2ac0b0ade4
commit 9d55adb26d
9 changed files with 173 additions and 24 deletions
+11 -2
View File
@@ -131,14 +131,23 @@ export const getBasicSearch = (searchString) => {
});
};
export const getBasicSearchPaged = (searchString, pageNumber) => {
export const getBasicSearchPaged = (
searchString,
pageNumber,
orderBy,
fieldSort
) => {
//console.log(queryUrl);
return axios
.get(
"/api/endpoint/getbasicsearchpaged_api?searchString=" +
searchString +
"&pageNumber=" +
pageNumber
pageNumber +
"&orderby=" +
orderBy +
"&fieldSort=" +
fieldSort
)
.then((res) => {
return res.data;