postgresql fix

This commit is contained in:
Nicola Galgano 2021-08-16 07:58:35 +02:00 committed by GitHub
parent 966e62786a
commit ea95995833
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);