1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

News search LAN fix.

This commit is contained in:
Cameron
2017-03-18 12:24:01 -07:00
parent ab79296f4c
commit 209018fb26
3 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ class news_search extends e_search // include plugin-folder in the name.
'return_fields' => array('n.news_id', 'n.news_title', 'n.news_sef', 'n.news_body', 'n.news_extended', 'n.news_allow_comments', 'n.news_datestamp', 'n.news_category', 'c.category_name'),
'search_fields' => array('n.news_title' => '1.2', 'n.news_body' => '0.6', 'n.news_extended' => '0.6', 'n.news_summary' => '1.2'), // fields and their weights.
'order' => array('news_datestamp' => DESC),
'order' => array('news_datestamp' => 'DESC'),
'refpage' => 'news.php'
);