Bug 40565: Correctly fix the retrieval of 'id'
For other tables than those from Vue apps, table_node is the node and we need to retrieve the object before accessing the attr function Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
7bb704294b
commit
9af7d9dfd7
|
|
@ -1040,7 +1040,7 @@ function _dt_add_filters(table_node, table_dt, filters_options = {}) {
|
|||
|
||||
if (
|
||||
table_dt.settings()[0].ajax !== null &&
|
||||
table_node.attr("id") !== "item_search"
|
||||
$(table_node)?.attr("id") !== "item_search"
|
||||
) {
|
||||
optionValue = `^${this._id}$`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue