32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-12-24 17:40:23 +00:00

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

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);