disable ordering on IPN if fixed ordering

This commit is contained in:
Matthias 2021-08-20 22:51:36 +02:00
parent 8646c73021
commit 7533a9ac0c
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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',