|
@@ -217,10 +217,14 @@ $.BootstrapTable = class extends $.BootstrapTable {
|
|
|
keys.forEach(key => {
|
|
keys.forEach(key => {
|
|
|
const thisColumn = that.columns[that.fieldsColumnsIndex[key]]
|
|
const thisColumn = that.columns[that.fieldsColumnsIndex[key]]
|
|
|
const rawFilterValue = (filterPartial[key] || '')
|
|
const rawFilterValue = (filterPartial[key] || '')
|
|
|
- const filterValue = rawFilterValue.toLowerCase()
|
|
|
|
|
|
|
+ let filterValue = rawFilterValue.toLowerCase()
|
|
|
let value = Utils.unescapeHTML(Utils.getItemField(item, key, false))
|
|
let value = Utils.unescapeHTML(Utils.getItemField(item, key, false))
|
|
|
let tmpItemIsExpected
|
|
let tmpItemIsExpected
|
|
|
|
|
|
|
|
|
|
+ if (this.options.searchAccentNeutralise) {
|
|
|
|
|
+ filterValue = Utils.normalizeAccent(filterValue)
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if (filterValue === '') {
|
|
if (filterValue === '') {
|
|
|
tmpItemIsExpected = true
|
|
tmpItemIsExpected = true
|
|
|
} else {
|
|
} else {
|