Fixed #4268 - Datatable: Menu Filter Icon Click Causes Column to Sort

pull/3943/head^2
Tuğçe Küçükoğlu 2023-08-15 14:21:38 +03:00
parent 46be178eb3
commit f7f87cc9a0
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ export default {
DomHandler.getAttribute(targetNode, 'data-pc-section') === 'sorticon' || DomHandler.getAttribute(targetNode, 'data-pc-section') === 'sorticon' ||
DomHandler.getAttribute(targetNode.parentElement, 'data-pc-section') === 'sorticon' || DomHandler.getAttribute(targetNode.parentElement, 'data-pc-section') === 'sorticon' ||
DomHandler.getAttribute(targetNode.parentElement.parentElement, 'data-pc-section') === 'sorticon' || DomHandler.getAttribute(targetNode.parentElement.parentElement, 'data-pc-section') === 'sorticon' ||
targetNode.closest('[data-p-sortable-column="true"]') (targetNode.closest('[data-p-sortable-column="true"]') && !targetNode.closest('[data-pc-section="filtermenubutton"]'))
) { ) {
DomHandler.clearSelection(); DomHandler.clearSelection();