From 8bf4c1d9dc482a9c5e904aa14e8da5059890e4c9 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Tue, 12 Mar 2024 01:40:25 +0300 Subject: [PATCH] add `published` field alias --- com_oauthserver/administrator/src/Table/ClientTable.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/com_oauthserver/administrator/src/Table/ClientTable.php b/com_oauthserver/administrator/src/Table/ClientTable.php index b6915f5..1077bd4 100644 --- a/com_oauthserver/administrator/src/Table/ClientTable.php +++ b/com_oauthserver/administrator/src/Table/ClientTable.php @@ -56,5 +56,7 @@ class ClientTable extends Table public function __construct(DatabaseDriver $db) { parent::__construct('#__webmasterskaya_oauthserver_clients', 'id', $db); + + $this->setColumnAlias('published', 'active'); } }