mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 05:25:42 +00:00
Add ability to filter builds by "active" status
This commit is contained in:
@ -80,8 +80,8 @@ loadSimplePartTable("#bom-invalid-table", "{% url 'api-part-list' %}", {
|
||||
loadBuildTable("#build-pending-table", {
|
||||
url: "{% url 'api-build-list' %}",
|
||||
params: {
|
||||
"part_detail": true,
|
||||
"status": "10-20",
|
||||
part_detail: true,
|
||||
active: true,
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -109,7 +109,10 @@ function getAvailableTableFilters(tableKey) {
|
||||
title: '{% trans "Build status" %}',
|
||||
options: buildCodes,
|
||||
},
|
||||
|
||||
pending: {
|
||||
type: 'bool',
|
||||
title: '{% trans "Pending" %}',
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user