mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add 'refresh' button for part parameter table (#3329)
* Add 'refresh' button for part parameter table
* Override default URL behaviour for unit test
(cherry picked from commit 2c12a69529
)
This commit is contained in:
parent
0e157950dc
commit
2635327c51
@ -206,6 +206,12 @@
|
||||
<h4>{% trans "Part Parameters" %}</h4>
|
||||
</div>
|
||||
<div class='panel-content'>
|
||||
<div id='param-button-toolbar'>
|
||||
<div class='btn-group' role='group'>
|
||||
{% include "filter_list.html" with id="parameters" %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table class='table table-striped table-condensed' data-toolbar='#param-button-toolbar' id='parametric-part-table'>
|
||||
</table>
|
||||
</div>
|
||||
|
@ -1198,6 +1198,8 @@ function loadRelatedPartsTable(table, part_id, options={}) {
|
||||
*/
|
||||
function loadParametricPartTable(table, options={}) {
|
||||
|
||||
setupFilterList('parameters', $(table), '#filter-list-parameters');
|
||||
|
||||
var columns = [
|
||||
{
|
||||
field: 'name',
|
||||
|
Loading…
Reference in New Issue
Block a user