mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
Add table filter buttons to incomplete build output table
This commit is contained in:
parent
4bb7c65d8a
commit
83fbc6159c
@ -755,7 +755,7 @@ function loadBuildOutputTable(build_info, options={}) {
|
|||||||
filters[key] = params[key];
|
filters[key] = params[key];
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Initialize filter list
|
setupFilterList('builditems', $(table), options.filterTarget || '#filter-list-incompletebuilditems');
|
||||||
|
|
||||||
function setupBuildOutputButtonCallbacks() {
|
function setupBuildOutputButtonCallbacks() {
|
||||||
|
|
||||||
@ -1000,7 +1000,7 @@ function loadBuildOutputAllocationTable(buildInfo, output, options={}) {
|
|||||||
filters[key] = params[key];
|
filters[key] = params[key];
|
||||||
}
|
}
|
||||||
|
|
||||||
setupFilterList('builditems', $(table), options.filterTarget || null);
|
setupFilterList('builditems', $(table), options.filterTarget);
|
||||||
|
|
||||||
// If an "output" is specified, then only "trackable" parts are allocated
|
// If an "output" is specified, then only "trackable" parts are allocated
|
||||||
// Otherwise, only "untrackable" parts are allowed
|
// Otherwise, only "untrackable" parts are allowed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user