Closed SafAlhaji closed 6 years ago
Should we make this configurable e.g. deepseach: true|false
?
I think such configuration will preferably be set to true most of the times, don't think anyone would want a search that works only on first-level properties, while expecting it to work on all displayed columns.
Thanks for your efforts
Searching will not consider fields that are given a nested path (e.g.
attributes.name
), sincegetFn
is overridden and looks straight intoobj[path]
, which will giveobj["attributes.name"]
in the mentioned example. Thedig
method should be used to look into nested paths properly.