Skip to content
Snippets Groups Projects

In-app awareness of Registration Features - Group access by IP address

All threads resolved!
Compare and Show latest version
13 files
+ 151
8
Compare changes
  • Side-by-side
  • Inline
Files
13
@@ -44,6 +44,7 @@ export default {
@@ -44,6 +44,7 @@ export default {
weight,
weight,
epicId,
epicId,
myReactionEmoji,
myReactionEmoji,
 
releaseTag,
} = this.filterParams;
} = this.filterParams;
const filteredSearchValue = [];
const filteredSearchValue = [];
@@ -105,6 +106,13 @@ export default {
@@ -105,6 +106,13 @@ export default {
});
});
}
}
 
if (releaseTag) {
 
filteredSearchValue.push({
 
type: 'release',
 
value: { data: releaseTag, operator: '=' },
 
});
 
}
 
if (epicId) {
if (epicId) {
filteredSearchValue.push({
filteredSearchValue.push({
type: 'epic_id',
type: 'epic_id',
@@ -177,6 +185,13 @@ export default {
@@ -177,6 +185,13 @@ export default {
});
});
}
}
 
if (this.filterParams['not[releaseTag]']) {
 
filteredSearchValue.push({
 
type: 'release',
 
value: { data: this.filterParams['not[releaseTag]'], operator: '!=' },
 
});
 
}
 
if (search) {
if (search) {
filteredSearchValue.push(search);
filteredSearchValue.push(search);
}
}
@@ -195,6 +210,7 @@ export default {
@@ -195,6 +210,7 @@ export default {
epicId,
epicId,
myReactionEmoji,
myReactionEmoji,
iterationId,
iterationId,
 
releaseTag,
} = this.filterParams;
} = this.filterParams;
let notParams = {};
let notParams = {};
@@ -210,6 +226,7 @@ export default {
@@ -210,6 +226,7 @@ export default {
'not[epic_id]': this.filterParams.not.epicId,
'not[epic_id]': this.filterParams.not.epicId,
'not[my_reaction_emoji]': this.filterParams.not.myReactionEmoji,
'not[my_reaction_emoji]': this.filterParams.not.myReactionEmoji,
'not[iteration_id]': this.filterParams.not.iterationId,
'not[iteration_id]': this.filterParams.not.iterationId,
 
'not[release_tag]': this.filterParams.not.releaseTag,
},
},
undefined,
undefined,
);
);
@@ -227,6 +244,7 @@ export default {
@@ -227,6 +244,7 @@ export default {
weight,
weight,
epic_id: getIdFromGraphQLId(epicId),
epic_id: getIdFromGraphQLId(epicId),
my_reaction_emoji: myReactionEmoji,
my_reaction_emoji: myReactionEmoji,
 
release_tag: releaseTag,
};
};
},
},
},
},
@@ -290,6 +308,9 @@ export default {
@@ -290,6 +308,9 @@ export default {
case 'my_reaction_emoji':
case 'my_reaction_emoji':
filterParams.myReactionEmoji = filter.value.data;
filterParams.myReactionEmoji = filter.value.data;
break;
break;
 
case 'release':
 
filterParams.releaseTag = filter.value.data;
 
break;
case 'filtered-search-term':
case 'filtered-search-term':
if (filter.value.data) plainText.push(filter.value.data);
if (filter.value.data) plainText.push(filter.value.data);
break;
break;
Loading