mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
disable ordering on IPN if fixed ordering
This commit is contained in:
parent
8646c73021
commit
7533a9ac0c
@ -814,11 +814,14 @@ function loadPartTable(table, url, options={}) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
columns.push({
|
col = {
|
||||||
field: 'IPN',
|
field: 'IPN',
|
||||||
title: 'IPN',
|
title: 'IPN',
|
||||||
sortable: true,
|
};
|
||||||
}),
|
if (!options.params.ordering) {
|
||||||
|
col['sortable'] = true;
|
||||||
|
};
|
||||||
|
columns.push(col);
|
||||||
|
|
||||||
columns.push({
|
columns.push({
|
||||||
field: 'name',
|
field: 'name',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user