Authored by 郝肖肖

Merge branch 'feature/searchOptimi' into release/5.5

... ... @@ -60,7 +60,7 @@ const list = (req, res, next) => {
]).then(result => {
// 推荐词条件判断 redmine: 18567
if (result[2].suggestion && result[2].suggestion.termsSuggestion &&
if (result[2].suggestion && result[2].suggestion.isNeedSuggestion &&
result[2].suggestion.termsSuggestion.length) {
params.query = result[2].suggestion.termsSuggestion[0].name;
}
... ...
... ... @@ -981,7 +981,7 @@ $listNav.on('touchend touchcancel', function(e) {
}
if (nav.reload) {
$(document).trigger('shouldSendBpData', [bpIdData]);
search();
search({filtering: true});
}
}
});
... ...