mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
r553
sphinx search fix git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@553 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
e3d240ba55
commit
3c9f6894df
2 changed files with 4 additions and 4 deletions
|
@ -55,8 +55,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.5 (unstable)';
|
||||
$bb_cfg['tp_release_date'] = '05-09-2013';
|
||||
$bb_cfg['tp_release_state'] = 'R552';
|
||||
$bb_cfg['tp_release_date'] = '03-11-2013';
|
||||
$bb_cfg['tp_release_state'] = 'R553';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
|
|
@ -697,9 +697,9 @@ else
|
|||
bb_die($lang['NO_SEARCH_MATCH']);
|
||||
}
|
||||
|
||||
$where_id = ($title_match) ? 'topic_id' : 'post_id';
|
||||
$where_id = ($title_match) ? 't.topic_id' : 'p.post_id';
|
||||
|
||||
$SQL['WHERE'][] = "$tbl.$where_id IN($search_match_topics_csv)";
|
||||
$SQL['WHERE'][] = "$where_id IN($search_match_topics_csv)";
|
||||
prevent_huge_searches($SQL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue