mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Adds filters for "manufacturer-parts" list
This commit is contained in:
parent
46aeafb5da
commit
9884c0fadb
@ -92,8 +92,8 @@
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% include "filter_list.html" with id="manufacturer-part" %}
|
||||
</div>
|
||||
{% include "filter_list.html" with id="supplier-part" %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -464,7 +464,9 @@ function loadManufacturerPartTable(table, url, options) {
|
||||
filters[key] = params[key];
|
||||
}
|
||||
|
||||
setupFilterList('manufacturer-part', $(table));
|
||||
var filterTarget = options.filterTarget || '#filter-list-manufacturer-part';
|
||||
|
||||
setupFilterList('manufacturer-part', $(table), filterTarget);
|
||||
|
||||
$(table).inventreeTable({
|
||||
url: url,
|
||||
|
Loading…
Reference in New Issue
Block a user