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>
(cherry picked from commit 9af7d9dfd7)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
01d94090c7
commit
cfa17e1bc5
|
|
@ -1038,7 +1038,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