mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +01:00
Bugtracker #4176 - don't search menus
This commit is contained in:
parent
c2480a88cf
commit
1d58d92af2
@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/search/search_pages.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:34:05 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2007-11-04 20:41:41 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@ -31,7 +31,7 @@ $search_fields = array('page_title', 'page_text');
|
||||
$weights = array('1.2', '0.6');
|
||||
$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);
|
||||
$table = "page";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user