calendar done
This commit is contained in:
@@ -16,7 +16,8 @@ export default function useSearchLoads() {
|
||||
filterStr = "?"+cleanfilterArr.join("&");
|
||||
}
|
||||
try {
|
||||
const endpoint = `/v1/loads/find${filterStr}&$sort%5BcreatedAt%5D=-1`;
|
||||
const endpoint = `/v1/loads/find${filterStr}&$sort[createdAt]=-1`;
|
||||
console.log(endpoint);
|
||||
const {data} = await api.get(endpoint);
|
||||
total.value = data.total;
|
||||
loads.value = data.data;
|
||||
|
||||
Reference in New Issue
Block a user