Commit 1e27a32e authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Made the element search parameter into a list instead of a comma separated string.

parent 0ca60338
Pipeline #87148 skipped with stage
This source diff could not be displayed because it is too large. You can view the blob instead.
window.nomadEnv = {
//apiRoot: "",
apiRoot: "",
//apiRoot: "http://localhost:8000/fairdi/nomad/latest/api/encyclopedia/",
//apiRoot: "",
apiRoot: "http://localhost:8000/fairdi/nomad/latest/api/encyclopedia/",
keycloakBase: '',
keycloakRealm: 'fairdi_nomad_test',
keycloakClientId: 'nomad_gui_dev'
......@@ -223,7 +223,7 @@ class SearchMod {
if (elements.length > 0)
queryObj.search_by.element = elements.join(',');
queryObj.search_by.elements = elements;
let exclusiveEl = this.element.querySelector('#exclusive-search:checked');
let restrictedEl = this.element.querySelector('#restricted-search:checked');
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