mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix search result tables
This commit is contained in:
parent
539b000460
commit
7ab58f683f
@ -159,7 +159,8 @@
|
||||
url: "{% url 'category-create' %}",
|
||||
},
|
||||
]
|
||||
});
|
||||
}
|
||||
);
|
||||
})
|
||||
|
||||
$("#part-export").click(function() {
|
||||
|
@ -127,7 +127,7 @@ InvenTree | {% trans "Search Results" %}
|
||||
loadPartTable("#part-results-table",
|
||||
"{% url 'api-part-list' %}",
|
||||
{
|
||||
query: {
|
||||
params: {
|
||||
search: "{{ query }}",
|
||||
},
|
||||
allowInactive: true,
|
||||
@ -137,7 +137,7 @@ InvenTree | {% trans "Search Results" %}
|
||||
|
||||
loadCompanyTable('#company-results-table', "{% url 'api-company-list' %}", {
|
||||
params: {
|
||||
serach: "{{ query }}",
|
||||
search: "{{ query }}",
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -9,6 +9,12 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block collapse_content %}
|
||||
<div id='button-toolbar'>
|
||||
<div class='button-toolbar container-fluid' style='float: right;'>
|
||||
<div class='filter-list' id='filter-list-parts'></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table class='table table-striped table-condensed' data-toolbar="#button-toolbar" id='part-results-table'>
|
||||
</table>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user