mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-06-19 19:10:36 +02:00
feat(forums): show attach flag if topic or reply has attach file
This commit is contained in:
@@ -161,7 +161,9 @@ exports.forumsSearch = function (req, res) {
|
||||
condition.$or = [
|
||||
{title: {'$all': keysA}},
|
||||
{content: {'$all': keysA}},
|
||||
{'_replies.content': {'$all': keysA}}
|
||||
{'_replies.content': {'$all': keysA}},
|
||||
{'_attach.filename': {'$all': keysA}},
|
||||
{'_replies._attach.filename': {'$all': keysA}}
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user