mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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',
|
||||
title: 'IPN',
|
||||
sortable: true,
|
||||
}),
|
||||
};
|
||||
if (!options.params.ordering) {
|
||||
col['sortable'] = true;
|
||||
};
|
||||
columns.push(col);
|
||||
|
||||
columns.push({
|
||||
field: 'name',
|
||||
|
Loading…
Reference in New Issue
Block a user