Browse Source

Removed comments and empty lines per PR review

jbarrineau06 5 years ago
parent
commit
fe36b5fea3
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/extensions/multiple-sort/bootstrap-table-multiple-sort.js

+ 0 - 7
src/extensions/multiple-sort/bootstrap-table-multiple-sort.js

@@ -599,18 +599,11 @@ BootstrapTable.prototype.onMultipleSort = function () {
     const arr2 = []
     const arr2 = []
 
 
     for (let i = 0; i < that.options.sortPriority.length; i++) {
     for (let i = 0; i < that.options.sortPriority.length; i++) {
-      // get fieldName from multi sort
       let fieldName = that.options.sortPriority[i].sortName
       let fieldName = that.options.sortPriority[i].sortName
-
-      // get index of fieldName from fields array
       const fieldIndex = that.header.fields.indexOf(fieldName)
       const fieldIndex = that.header.fields.indexOf(fieldName)
-
-      // use fieldIndex to get column's custom sorter
       const sorterName = that.header.sorters[that.header.fields.indexOf(fieldName)]
       const sorterName = that.header.sorters[that.header.fields.indexOf(fieldName)]
 
 
-      // check if column has a custom sort name
       if (that.header.sortNames[fieldIndex]) {
       if (that.header.sortNames[fieldIndex]) {
-        // set fieldName to custom sort column
         fieldName = that.header.sortNames[fieldIndex]
         fieldName = that.header.sortNames[fieldIndex]
       }
       }