2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 20:20:58 +00:00

Add build orders to search results list

This commit is contained in:
Oliver Walters
2021-03-03 08:44:13 +11:00
parent 14000517ce
commit 979f543c3f
8 changed files with 19 additions and 9 deletions

View File

@ -609,6 +609,8 @@ function loadBuildTable(table, options) {
var params = options.params || {};
var filters = {};
params['part_detail'] = true;
if (!options.disableFilters) {
filters = loadTableFilters("build");
@ -618,6 +620,8 @@ function loadBuildTable(table, options) {
filters[key] = params[key];
}
options.url = options.url || '{% url "api-build-list" %}';
var filterTarget = options.filterTarget || null;
setupFilterList("build", table, filterTarget);