Skip to content
Snippets Groups Projects
Commit 329a0e89 authored by stvoutsin's avatar stvoutsin
Browse files

Changes to the JS code to enable the keyword search textfield

parent 94772420
No related branches found
No related tags found
1 merge request!7Changes to the JS code to enable the keyword search textfield
version: '3'
networks:
esap_net:
services:
esap_api:
image:
"esap_api:latest"
read_only:
false
volumes:
- /data/shared:/shared
networks:
- esap_net
ports:
- "8005:8005"
my_nginx:
image:
"my_nginx:latest"
read_only:
false
volumes:
- /data/shared:/shared
- /data/shared:/etc/nginx/conf.d/
- /data/shared/static:/static
networks:
- esap_net
ports:
- "80:80"
depends_on:
- esap_api
...@@ -100,6 +100,15 @@ export default function QueryArchives(props) { ...@@ -100,6 +100,15 @@ export default function QueryArchives(props) {
queryToStore[key]=value queryToStore[key]=value
} }
if (formData.keyword) {
key = "keyword"
value = formData.keyword.trim()
query = query + "&" + key + "=" + value
queryToStore[key]=value
}
if (formData.target) { if (formData.target) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment