Friends, search
This commit is contained in:
@@ -1256,6 +1256,12 @@ module.exports = {
|
||||
filtriadded.push(...params.filtersearch);
|
||||
}
|
||||
|
||||
if (params.options) {
|
||||
if (this.isBitActive(params.options, shared_consts.OPTIONS_SEARCH_ONLY_FULL_WORDS)) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (filtriadded) {
|
||||
if (filtriadded.length > 0)
|
||||
query.push({$match: {$and: filtriadded}});
|
||||
|
||||
@@ -94,6 +94,8 @@ module.exports = Object.freeze({
|
||||
PREFIX_IMG: 'm_',
|
||||
PREFIX_IMG_SMALL: 'sm_',
|
||||
|
||||
DIR_UPLOAD: '/upload', //'/upload'
|
||||
|
||||
Privacy: {
|
||||
all: 'all',
|
||||
friends: 'friends',
|
||||
|
||||
@@ -32,6 +32,8 @@ module.exports = {
|
||||
|
||||
FILTER_MYSKILL_SKILL: 1,
|
||||
|
||||
OPTIONS_SEARCH_ONLY_FULL_WORDS: 1,
|
||||
|
||||
FRIENDSCMD: {
|
||||
SETTRUST: 121,
|
||||
SETFRIEND: 132,
|
||||
|
||||
Reference in New Issue
Block a user