Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
trivalent
dashboard-trivalent
Commits
1308b39d
Commit
1308b39d
authored
Mar 15, 2019
by
Daniel Suarez Souto
Browse files
Fixed but with text queries
parent
f68ca03e
Pipeline
#1387
passed with stages
in 58 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dashboard-gsicrawler.env.html
View file @
1308b39d
...
...
@@ -13,7 +13,6 @@
<link
rel=
"import"
href=
"/bower_components/paper-menu/paper-menu.html"
>
<link
rel=
"import"
href=
"/bower_components/paper-autocomplete/paper-autocomplete.html"
>
<link
rel=
"import"
href=
"/elements/entities-chart/entities-chart.html"
>
<link
rel=
"import"
href=
"/elements/categories-chart/categories-chart.html"
>
<link
rel=
"import"
href=
"/elements/people-chart/people-chart.html"
>
<link
rel=
"import"
href=
"/elements/news-chart/news-chart.html"
>
<link
rel=
"import"
href=
"/elements/propaganda-chart/propaganda-chart.html"
>
...
...
@@ -118,7 +117,10 @@
icon=
"icons:list"
param=
"{{param}}"
id=
"entitieschart"
filters=
"{{filters}}"
>
filters=
"{{filters}}"
legend=
'[{"name":"Organization","type":"schema:Organization","color":"#dd4b39"},
{"name":"Place","type":"schema:Place","color":"#ff9900"},
{"name": "Person","type":"schema:Person","color":"#00c0ef"}]'
>
</entities-chart>
</div>
<div
class=
"col-md-6"
>
...
...
@@ -129,6 +131,7 @@
icon=
"icons:list"
param=
"{{param}}"
id=
"categorieschart"
color =
"#505050"
filters=
"{{filters}}"
>
</entities-chart>
...
...
@@ -391,7 +394,7 @@ H2020 RIA Action Grant No. 740934 under the call SEC-06-FCT-2016 — Developing
}
else
{
console
.
log
(
"
Filter
"
)
this
.
push
(
'
filters
'
,
{
terms
:
{
'
schema:articleBody
'
:
[
this
.
query
]
}});
this
.
push
(
'
filters
'
,
{
terms
:
{
'
schema:articleBody
'
:
this
.
query
.
toLowerCase
().
split
(
"
"
)
}});
//this.search={"schema:articleBody":{"query":this.query,"operator":"and"}}
this
.
_query
()
}
...
...
dashboard-gsicrawler.html
View file @
1308b39d
...
...
@@ -13,7 +13,6 @@
<link
rel=
"import"
href=
"/bower_components/paper-menu/paper-menu.html"
>
<link
rel=
"import"
href=
"/bower_components/paper-autocomplete/paper-autocomplete.html"
>
<link
rel=
"import"
href=
"/elements/entities-chart/entities-chart.html"
>
<link
rel=
"import"
href=
"/elements/categories-chart/categories-chart.html"
>
<link
rel=
"import"
href=
"/elements/people-chart/people-chart.html"
>
<link
rel=
"import"
href=
"/elements/news-chart/news-chart.html"
>
<link
rel=
"import"
href=
"/elements/propaganda-chart/propaganda-chart.html"
>
...
...
@@ -118,7 +117,10 @@
icon=
"icons:list"
param=
"{{param}}"
id=
"entitieschart"
filters=
"{{filters}}"
>
filters=
"{{filters}}"
legend=
'[{"name":"Organization","type":"schema:Organization","color":"#dd4b39"},
{"name":"Place","type":"schema:Place","color":"#ff9900"},
{"name": "Person","type":"schema:Person","color":"#00c0ef"}]'
>
</entities-chart>
</div>
<div
class=
"col-md-6"
>
...
...
@@ -129,6 +131,7 @@
icon=
"icons:list"
param=
"{{param}}"
id=
"categorieschart"
color =
"#505050"
filters=
"{{filters}}"
>
</entities-chart>
...
...
@@ -391,7 +394,7 @@ H2020 RIA Action Grant No. 740934 under the call SEC-06-FCT-2016 — Developing
}
else
{
console
.
log
(
"
Filter
"
)
this
.
push
(
'
filters
'
,
{
terms
:
{
'
schema:articleBody
'
:
[
this
.
query
]
}});
this
.
push
(
'
filters
'
,
{
terms
:
{
'
schema:articleBody
'
:
this
.
query
.
toLowerCase
().
split
(
"
"
)
}});
//this.search={"schema:articleBody":{"query":this.query,"operator":"and"}}
this
.
_query
()
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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