Merge pull request #12 from alikon/patch-6

module - postgresql fix
This commit is contained in:
Tuan Pham Ngoc 2021-08-16 17:53:28 +07:00 committed by GitHub
commit d908b846ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class WeblinksHelper
$model->setState(
'list.select',
'a.*, c.published AS c_published,' . $case_when1 . ',' . $case_when2 . ', DATE_FORMAT(a.created, "%Y-%m-%d") AS created'
'a.*, c.published AS c_published,' . $case_when1 . ',' . $case_when2 . ', a.created'
);
$model->setState('filter.c.published', 1);