Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
encyclopedia-gui
Commits
1e27a32e
Commit
1e27a32e
authored
Nov 19, 2020
by
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
client/bundle.js
View file @
1e27a32e
This source diff could not be displayed because it is too large. You can
view the blob
instead.
client/conf.js
View file @
1e27a32e
window
.
nomadEnv
=
{
//apiRoot: "https://labdev-nomad.esc.rzg.mpg.de/dev/nomad/encyclopedia-api/",
apiRoot
:
"
https://nomad-lab.eu/prod/rae/api/encyclopedia/
"
,
//
apiRoot: "http://localhost:8000/fairdi/nomad/latest/api/encyclopedia/",
//
apiRoot: "https://nomad-lab.eu/prod/rae/api/encyclopedia/",
apiRoot
:
"
http://localhost:8000/fairdi/nomad/latest/api/encyclopedia/
"
,
keycloakBase
:
'
https://nomad-lab.eu/fairdi/keycloak/auth/
'
,
keycloakRealm
:
'
fairdi_nomad_test
'
,
keycloakClientId
:
'
nomad_gui_dev
'
...
...
client/src/search-mod/SearchMod.js
View file @
1e27a32e
...
...
@@ -223,7 +223,7 @@ class SearchMod {
});
if
(
elements
.
length
>
0
)
queryObj
.
search_by
.
element
=
elements
.
join
(
'
,
'
)
;
queryObj
.
search_by
.
element
s
=
elements
;
let
exclusiveEl
=
this
.
element
.
querySelector
(
'
#exclusive-search:checked
'
);
let
restrictedEl
=
this
.
element
.
querySelector
(
'
#restricted-search:checked
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment