mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +00:00
Hide inactive parts in parts list
This commit is contained in:
parent
1a66a12d57
commit
492d705b39
@ -115,16 +115,15 @@
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
pagination: true,
|
pagination: true,
|
||||||
rememberOrder: true,
|
rememberOrder: true,
|
||||||
{% if category %}
|
|
||||||
queryParams: function(p) {
|
queryParams: function(p) {
|
||||||
return {
|
return {
|
||||||
|
active: true,
|
||||||
{% if category %}
|
{% if category %}
|
||||||
category: {{ category.id }},
|
category: {{ category.id }},
|
||||||
include_child_categories: true,
|
include_child_categories: true,
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{% endif %}
|
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
checkbox: true,
|
checkbox: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user