N°3200 Datatable "filter list" icon : specific query for 1,n and n,n objects relations

This specific query passes attcodes list to display to UI.php, but this endpoint doesn't handle it yet. Adding this enhancements would require too much time for now (datatables legacy code), hopefully a refactoring work will be done soon and we'll get back to it !

Note that dedicated ContextTag is renamed from Search to ObjectSearch
This commit is contained in:
Pierre Goiffon
2023-01-04 15:53:32 +01:00
parent a62a373f64
commit 4f7a1ea9da
7 changed files with 123 additions and 23 deletions

View File

@@ -2223,7 +2223,7 @@ class MenuBlock extends DisplayBlock
$oActionsToolbar->AddSubBlock($oActionButton);
} else {
// - Filter list
$sSearchUrl = utils::GetDataTableSearchUrl($this->m_oFilter);
$sSearchUrl = utils::GetDataTableSearchUrl($this->m_oFilter, $aExtraParams);
if (!empty($sSearchUrl)) {
$oActionButton = ButtonUIBlockFactory::MakeIconLink(
'fas fa-filter',