Skip to content
Snippets Groups Projects
Commit 4dd11904 authored by !! Julian Keck (old Account; do not use) !!'s avatar !! Julian Keck (old Account; do not use) !! :ghost:
Browse files

FIX prevent duplicated groups in search

Closes #768
parent f488e211
No related branches found
No related tags found
No related merge requests found
......@@ -94,16 +94,6 @@ export default {
})
}
},
searchGroupDirectTA(term, limit) {
return {
name: 'cntl.group.list',
old: apiutil.denullify_dict({
name: term,
fetch_limit: limit,
sorting_params_list: ['name']
})
}
},
searchGroupRegexTA(term, limit) {
return {
name: 'cntl.group.list',
......@@ -292,8 +282,6 @@ export default {
cntl: [
() => {
if (!termIsIP && termCanBeGroup) {
transactions.push(this.searchGroupDirectTA(term, limit))
types.push('cntl.group')
transactions.push(this.searchGroupRegexTA(term, limit))
types.push('cntl.group')
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment