mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove some debug messages
This commit is contained in:
parent
4011d66b6f
commit
8255332950
@ -70,15 +70,10 @@
|
|||||||
var that = this;
|
var that = this;
|
||||||
tableGroups = [];
|
tableGroups = [];
|
||||||
|
|
||||||
console.log('Sorting...');
|
|
||||||
|
|
||||||
console.log(typeof this.options.groupByField);
|
|
||||||
|
|
||||||
if (this.options.groupBy && this.options.groupByField !== '') {
|
if (this.options.groupBy && this.options.groupByField !== '') {
|
||||||
|
|
||||||
if (1 || (this.options.sortName != this.options.groupByField)) {
|
if (1 || (this.options.sortName != this.options.groupByField)) {
|
||||||
this.data.sort(function (a, b) {
|
this.data.sort(function (a, b) {
|
||||||
console.log('x');
|
|
||||||
return a[that.options.groupByField].localeCompare(b[that.options.groupByField]);
|
return a[that.options.groupByField].localeCompare(b[that.options.groupByField]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user