Revision 6
includes/extra/default/listing_sql/category_keywords.php | ||
---|---|---|
30 | 30 |
$where_str_cat .= "cd.categories_keywords LIKE ('%".$keyword."%') "; |
31 | 31 |
$where_str_cat .= $ent_keyword ? "OR cd.categories_keywords LIKE ('%".$ent_keyword."%') " : ''; |
32 | 32 |
|
33 |
if (MODULE_CATEGORY_KEYWORDS_INCLUDE_CATEGORIES == 'True') { |
|
33 |
if (MODULE_CATEGORY_KEYWORDS_INCLUDE_CATEGORIES == 'True' && strlen($keyword) > 2) {
|
|
34 | 34 |
$where_str_cat .= "OR cd.categories_name LIKE ('%".$keyword."%') "; |
35 | 35 |
$where_str_cat .= $ent_keyword ? "OR cd.categories_name LIKE ('%".$ent_keyword."%') " : ''; |
36 | 36 |
$where_str_cat .= "OR cd.categories_heading_title LIKE ('%".$keyword."%') "; |
Auch abrufbar als: Unified diff