32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-12-25 17:51:07 +00:00

[fix #212] Weblink created date not showed on Search view (#219)

Simple fix.  Two successful tests.  Thanks @pritalpatel
This commit is contained in:
Prital Patel 2016-06-26 02:39:37 +05:30 committed by Chris Davenport
parent 8b6db18948
commit a3f6281bd4

View File

@ -174,7 +174,7 @@ class PlgSearchWeblinks extends JPlugin
$case_when1 .= ' ELSE ';
$case_when1 .= $c_id . ' END as catslug';
$query->select('a.title AS title, \'\' AS created, a.url, a.description AS text, ' . $case_when . "," . $case_when1)
$query->select('a.title AS title, a.created AS created, a.url, a.description AS text, ' . $case_when . "," . $case_when1)
->select($query->concatenate(array($db->quote($searchWeblinks), 'c.title'), " / ") . ' AS section')
->select('\'1\' AS browsernav')
->from('#__weblinks AS a')