mirror of
https://github.com/e107inc/e107.git
synced 2025-07-27 09:50:49 +02:00
Bugtracker #4176 - don't search menus
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/search/search_pages.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/search/search_pages.php,v $
|
||||||
| $Revision: 1.1.1.1 $
|
| $Revision: 1.2 $
|
||||||
| $Date: 2006-12-02 04:34:05 $
|
| $Date: 2007-11-04 20:41:41 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ $search_fields = array('page_title', 'page_text');
|
|||||||
$weights = array('1.2', '0.6');
|
$weights = array('1.2', '0.6');
|
||||||
$no_results = LAN_198;
|
$no_results = LAN_198;
|
||||||
|
|
||||||
$where = "page_class IN (".USERCLASS_LIST.") AND".$advanced_where;
|
$where = "page_class IN (".USERCLASS_LIST.") AND `menu_name`='' AND".$advanced_where;
|
||||||
$order = array('page_datestamp' => DESC);
|
$order = array('page_datestamp' => DESC);
|
||||||
$table = "page";
|
$table = "page";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user