Fixed a bug where Tasks weren't loading filtered by Job.
This commit is contained in:
parent
b2f77f2ca1
commit
48431db7ee
3 changed files with 7 additions and 5 deletions
|
|
@ -320,7 +320,7 @@ class Api {
|
|||
|
||||
console.log("DEBUG: API - Sending job task options to backend:", options);
|
||||
|
||||
const result = await this.request(FRAPPE_GET_JOB_TASK_LIST_METHOD, { options });
|
||||
const result = await this.request(FRAPPE_GET_JOB_TASK_LIST_METHOD, { options, filters });
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ const taskList = ref(null);
|
|||
const columns = [
|
||||
{ label: "Task", fieldName: "subject", type: "text" },
|
||||
{ label: "ID", fieldName: "name", type: "text", sortable: true, filterable: true },
|
||||
{ label: "Address", fieldname: "address", type: "text" },
|
||||
{ label: "Category", fieldName: "", type: "text", sortable: true, filterable: true },
|
||||
{ label: "Status", fieldName: "status", type: "text", sortable: true, filterable: true },
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue