We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4cc43c commit b5d1e35Copy full SHA for b5d1e35
src/DataTable.vue
@@ -314,10 +314,10 @@
314
315
// Enable searching of numbers (non-string)
316
// Temporary fix of https://github.com/krisk/Fuse/issues/144
317
- searchConfig.getFn = function (obj, path) {
318
- if(Number.isInteger(obj[path]))
319
- return JSON.stringify(obj[path]);
320
- return obj[path];
+ searchConfig.getFn = (obj, path) => {
+ if(Number.isInteger(this.dig(obj, path)))
+ return JSON.stringify(this.dig(obj, path));
+ return this.dig(obj, path);
321
}
322
323
if(this.exactSearch){
0 commit comments