فهرست منبع

Try 2 to fix EasySearch.

Thanks to xet7 !
Lauri Ojansivu 2 سال پیش
والد
کامیت
a21883e3a1
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      models/users.js

+ 1 - 0
models/users.js

@@ -540,6 +540,7 @@ Users.allow({
 UserSearchIndex = new Index({
   collection: Users,
   fields: ['username', 'profile.fullname', 'emails.address'],
+  allowedFields: ['username', 'profile.fullname', 'emails.address'],
   engine: new MongoDBEngine(),
 });