1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Update e_search.php

This commit is contained in:
Gábor
2018-10-07 09:14:01 +02:00
committed by GitHub
parent 5c40dba1af
commit c31623e2fd

View File

@@ -73,7 +73,7 @@ class page_search extends e_search // include plugin-folder in the name.
} }
$search = array( $search = array(
'name' => "Pages", 'name' => LAN_PAGES,
'table' => 'page AS p LEFT JOIN #page_chapters AS c ON p.page_chapter = c.chapter_id ', 'table' => 'page AS p LEFT JOIN #page_chapters AS c ON p.page_chapter = c.chapter_id ',
'return_fields' => array('p.page_id', 'p.page_title', 'p.page_sef', 'p.page_text', 'p.page_chapter', 'p.page_datestamp', 'p.menu_image'), 'return_fields' => array('p.page_id', 'p.page_title', 'p.page_sef', 'p.page_text', 'p.page_chapter', 'p.page_datestamp', 'p.menu_image'),
'search_fields' => array('p.page_title' => '1.2', 'p.page_text' => '0.6', 'p.page_metakeys'=> '1.0', 'p.page_fields' => '0.5'), // fields and their weights. 'search_fields' => array('p.page_title' => '1.2', 'p.page_text' => '0.6', 'p.page_metakeys'=> '1.0', 'p.page_fields' => '0.5'), // fields and their weights.
@@ -174,4 +174,4 @@ class page_search extends e_search // include plugin-folder in the name.
} }
?> ?>