From c5a341a106e8a770cf29b2ac452af0c81280251f Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Wed, 7 Dec 2022 23:58:19 +0100 Subject: [PATCH] fix filter js call --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 21fe5bf..45589e1 100644 --- a/index.php +++ b/index.php @@ -169,7 +169,7 @@ if ($part == 'links') { } $breadcrumb[__('My cinecturlink')] = ''; - $headers .= dcPage::jsVars(['dotclear.filter_reset_url' => dcCore::app()->adminurl->get('admin.plugin.cinecturlink2', ['part' => 'links'])]) . + $headers .= $c2link_filter->js(dcCore::app()->adminurl->get('admin.plugin.cinecturlink2', ['part' => 'links'])) . dcPage::jsFilterControl($c2link_filter->show()) . dcPage::jsLoad(dcPage::getPF('cinecturlink2/js/c2links.js')); }