1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Search config minor changes to spec.

This commit is contained in:
Cameron
2014-01-13 11:07:02 -08:00
parent dad25394fe
commit 1fc86ddd51
4 changed files with 32 additions and 16 deletions

View File

@@ -30,10 +30,8 @@ class chatbox_menu_search extends e_search // include plugin-folder in the name.
),
'return_fields' => array('cb_id', 'cb_nick', 'cb_message', 'cb_datestamp'),
'search_fields' => array('cb_nick', 'cb_message'),
'search_fields' => array('cb_nick' => '1', 'cb_message' => '1'), // fields and weights.
'weights' => array('1', '1'),
'order' => array('cb_datestamp' => DESC),
'refpage' => 'chat.php'
);