|
|
@ -439,13 +439,17 @@ function processQuery(req) { |
|
|
|
if (!_queryProcessedMap[req.id][key]) { |
|
|
|
if (!_queryProcessedMap[req.id][key]) { |
|
|
|
_queryProcessedMap[req.id][key] = true; |
|
|
|
_queryProcessedMap[req.id][key] = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ((typeof userpost.msg !== 'string' || userpost.msg === '') |
|
|
|
|
|
|
|
&& (typeof userpost.rt !== 'object' |
|
|
|
|
|
|
|
|| typeof userpost.rt.msg !== 'string' || userpost.rt.msg === '')) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
if ($.Options.filterLang.val !== 'disable' && $.Options.filterLangForSearching.val) { |
|
|
|
if ($.Options.filterLang.val !== 'disable' && $.Options.filterLangForSearching.val) { |
|
|
|
if (typeof userpost.rt !== 'undefined') { |
|
|
|
if (userpost.msg !== '') |
|
|
|
var msg = userpost.rt.msg; |
|
|
|
langFilterData = filterLang(userpost.msg); |
|
|
|
} else { |
|
|
|
else |
|
|
|
var msg = userpost.msg; |
|
|
|
langFilterData = filterLang(userpost.rt.msg); |
|
|
|
} |
|
|
|
|
|
|
|
langFilterData = filterLang(msg); |
|
|
|
|
|
|
|
if ($.Options.filterLangSimulate.val) { |
|
|
|
if ($.Options.filterLangSimulate.val) { |
|
|
|
req.posts[i].langFilter = langFilterData; |
|
|
|
req.posts[i].langFilter = langFilterData; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|