Circuit go on...
This commit is contained in:
@@ -1652,7 +1652,7 @@ module.exports = {
|
||||
if (numrowend < 0)
|
||||
numrowend = 1;
|
||||
|
||||
if (params.querytype === shared_consts.QUERYTYPE_MYGROUP) {
|
||||
if (params.querytype === shared_consts.QUERYTYPE_MYGROUP || params.querytype === shared_consts.QUERYTYPE_CIRCUIT) {
|
||||
query.push({
|
||||
$match: {
|
||||
$expr: {
|
||||
@@ -1690,7 +1690,7 @@ module.exports = {
|
||||
},
|
||||
);
|
||||
|
||||
} else if (params.querytype === shared_consts.QUERYTYPE_REFUSED_USER_GRP) {
|
||||
} else if (params.querytype === shared_consts.QUERYTYPE_REFUSED_USER_GRP || params.querytype === shared_consts.QUERYTYPE_REFUSED_USER_CIRCUIT) {
|
||||
query.push({
|
||||
$match: {
|
||||
$expr: {
|
||||
|
||||
@@ -6,8 +6,9 @@ module.exports = {
|
||||
|
||||
QUERYTYPE_MYGROUP: 1,
|
||||
QUERYTYPE_REFUSED_USER_GRP: 2,
|
||||
|
||||
ALL_SAW_AND_ACCEPTED: 3,
|
||||
QUERYTYPE_CIRCUIT: 10,
|
||||
QUERYTYPE_REFUSED_USER_CIRCUIT: 12,
|
||||
// ---------------------
|
||||
|
||||
FILTER_EXTRALIST_NOT_REGISTERED: 1,
|
||||
@@ -66,6 +67,13 @@ module.exports = {
|
||||
REMOVEADMIN_OFMYGROUP: 1185,
|
||||
},
|
||||
|
||||
CIRCUITCMD: {
|
||||
REQ: 2000,
|
||||
SET: 2001,
|
||||
REMOVE_FROM_MYLIST: 2144,
|
||||
DELETE: 2170,
|
||||
},
|
||||
|
||||
REPORT_FILT_RESP: 1,
|
||||
REPORT_FILT_ATTIVITA: 2,
|
||||
|
||||
@@ -139,8 +147,8 @@ module.exports = {
|
||||
'circuits',
|
||||
'movements'],
|
||||
TABLES_USER_ID: ['mygroups', 'myskills', 'mybachecas', 'myhosps', 'mygoods'],
|
||||
TABLES_CREATEDBY: ['mygroups'],
|
||||
TABLES_UPDATE_LASTMODIFIED: ['myskills', 'mybachecas', 'myhosps', 'mygoods', 'bots', 'mygroups'],
|
||||
TABLES_CREATEDBY: ['mygroups', 'circuits'],
|
||||
TABLES_UPDATE_LASTMODIFIED: ['myskills', 'mybachecas', 'myhosps', 'mygoods', 'bots', 'mygroups', 'circuits'],
|
||||
|
||||
TABLES_PERM_CHANGE_FOR_USERS: ['myskills', 'mybachecas', 'myhosps', 'mygoods'],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user