|
@@ -583,6 +583,8 @@ class BootstrapTable {
|
|
|
_sort () {
|
|
_sort () {
|
|
|
if (this.options.sidePagination === 'server' && this.options.serverSort) {
|
|
if (this.options.sidePagination === 'server' && this.options.serverSort) {
|
|
|
this.options.pageNumber = 1
|
|
this.options.pageNumber = 1
|
|
|
|
|
+
|
|
|
|
|
+ this.trigger('sort', this.options.sortName, this.options.sortOrder)
|
|
|
this.initServer(this.options.silentSort)
|
|
this.initServer(this.options.silentSort)
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
@@ -593,7 +595,6 @@ class BootstrapTable {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
this.trigger('sort', this.options.sortName, this.options.sortOrder)
|
|
this.trigger('sort', this.options.sortName, this.options.sortOrder)
|
|
|
-
|
|
|
|
|
this.initSort()
|
|
this.initSort()
|
|
|
this.initBody()
|
|
this.initBody()
|
|
|
}
|
|
}
|