1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Bugtracker #4304 - Roll back custom page search - change didn't work. Needs further thought on how to block searching of menus

This commit is contained in:
e107steved 2008-01-26 17:55:52 +00:00
parent 1191da5246
commit c0c2be8a40

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/search/search_pages.php,v $
| $Revision: 1.2 $
| $Date: 2007-11-04 20:41:41 $
| $Revision: 1.3 $
| $Date: 2008-01-26 17:55:52 $
| $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 `menu_name`='' AND".$advanced_where;
$where = "page_class IN (".USERCLASS_LIST.") AND".$advanced_where;
$order = array('page_datestamp' => DESC);
$table = "page";