Commit 10ff2f34 authored by Janis Streib's avatar Janis Streib 🦉
Browse files

FIX: make "org" a valid descriminator

parent 9a6dbc6a
Pipeline #153372 passed with stages
in 9 minutes and 49 seconds
......@@ -350,6 +350,8 @@ export default {
return parts[0]
case 'macauth':
return parts[0]
case 'org':
return parts[0]
}
return null
},
......@@ -432,7 +434,7 @@ export default {
this.dispatch_search(SearchService.searchRRDataRegex(this.$store.state.netdb_axios_config, term, null), 'dns.record')
}
} else if (this.descriminator === 'org') {
this.dispatch_search(SearchService.searchOURegex(this.$store.state.netdb_axios_config, term, true), 'org.unit')
this.dispatch_search(SearchService.searchOURegex(this.$store.state.netdb_axios_config, term, null), 'org.unit')
this.dispatch_search(SearchService.searchOUDirect(this.$store.state.netdb_axios_config, term), 'org.unit')
}
this.descriminator = null
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment