From a3f6281bd4915ac7bb21f643a9533864f12995fd Mon Sep 17 00:00:00 2001 From: Prital Patel Date: Sun, 26 Jun 2016 02:39:37 +0530 Subject: [PATCH] [fix #212] Weblink created date not showed on Search view (#219) Simple fix. Two successful tests. Thanks @pritalpatel --- src/plugins/search/weblinks/weblinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/search/weblinks/weblinks.php b/src/plugins/search/weblinks/weblinks.php index 1f7a492..16d1d1d 100644 --- a/src/plugins/search/weblinks/weblinks.php +++ b/src/plugins/search/weblinks/weblinks.php @@ -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')