|
@@ 1209-1213 (lines=5) @@
|
| 1206 |
|
), |
| 1207 |
|
); |
| 1208 |
|
|
| 1209 |
|
if (!empty($search_params['topic'])) |
| 1210 |
|
{ |
| 1211 |
|
$main_query['where'][] = 't.id_topic = {int:topic}'; |
| 1212 |
|
$main_query['parameters']['topic'] = $search_params['topic']; |
| 1213 |
|
} |
| 1214 |
|
if (!empty($search_params['show_complete'])) |
| 1215 |
|
$main_query['group_by'][] = 'm.id_msg, t.id_first_msg, t.id_last_msg'; |
| 1216 |
|
} |
|
@@ 1298-1302 (lines=5) @@
|
| 1295 |
|
$subject_query['where'][] = '{raw:user_query}'; |
| 1296 |
|
$subject_query['params']['user_query'] = $userQuery; |
| 1297 |
|
} |
| 1298 |
|
if (!empty($search_params['topic'])) |
| 1299 |
|
{ |
| 1300 |
|
$subject_query['where'][] = 't.id_topic = {int:topic}'; |
| 1301 |
|
$subject_query['params']['topic'] = $search_params['topic']; |
| 1302 |
|
} |
| 1303 |
|
if (!empty($minMsgID)) |
| 1304 |
|
{ |
| 1305 |
|
$subject_query['where'][] = 't.id_first_msg >= {int:min_msg_id}'; |
|
@@ 1527-1531 (lines=5) @@
|
| 1524 |
|
$main_query['where'][] = '{raw:user_query}'; |
| 1525 |
|
$main_query['parameters']['user_query'] = $userQuery; |
| 1526 |
|
} |
| 1527 |
|
if (!empty($search_params['topic'])) |
| 1528 |
|
{ |
| 1529 |
|
$main_query['where'][] = 'm.id_topic = {int:topic}'; |
| 1530 |
|
$main_query['parameters']['topic'] = $search_params['topic']; |
| 1531 |
|
} |
| 1532 |
|
if (!empty($minMsgID)) |
| 1533 |
|
{ |
| 1534 |
|
$main_query['where'][] = 'm.id_msg >= {int:min_msg_id}'; |