mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-26 01:57:30 +00:00
Simple fix. Two successful tests. Thanks @pritalpatel
This commit is contained in:
parent
8b6db18948
commit
a3f6281bd4
@ -174,7 +174,7 @@ class PlgSearchWeblinks extends JPlugin
|
|||||||
$case_when1 .= ' ELSE ';
|
$case_when1 .= ' ELSE ';
|
||||||
$case_when1 .= $c_id . ' END as catslug';
|
$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($query->concatenate(array($db->quote($searchWeblinks), 'c.title'), " / ") . ' AS section')
|
||||||
->select('\'1\' AS browsernav')
|
->select('\'1\' AS browsernav')
|
||||||
->from('#__weblinks AS a')
|
->from('#__weblinks AS a')
|
||||||
|
Loading…
Reference in New Issue
Block a user