Fixed a bug where Tasks weren't loading filtered by Job.

This commit is contained in:
rocketdebris 2025-12-23 17:27:16 -05:00
parent b2f77f2ca1
commit 48431db7ee
3 changed files with 7 additions and 5 deletions

View file

@ -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;
}

View file

@ -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 },
];