From 9df73d4f457b592eda37a545aa4acc41f4ba3602 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 9 May 2023 01:21:46 +0200 Subject: [PATCH] fix callback --- src/BackendBehaviors.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BackendBehaviors.php b/src/BackendBehaviors.php index e647143..fe603a3 100644 --- a/src/BackendBehaviors.php +++ b/src/BackendBehaviors.php @@ -68,7 +68,7 @@ class BackendBehaviors __('Select the template') => 'tpl', ], ], - ['templatorBehaviors', 'adminPostsActionsCallback'] + [self::class, 'adminPostsActionsCallback'] ); } @@ -125,7 +125,7 @@ class BackendBehaviors public static function adminFiltersListsV2(ArrayObject $sorts): void { - $sorts['templator'] = [ + $sorts[My::id()] = [ __('Templates engine'), [ __('Date') => 'post_upddt',