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
afef3ef6
Commit
afef3ef6
authored
Dec 20, 2018
by
Daniel Suarez Souto
Browse files
fixed bug on dashboard.env
parent
b0156629
Pipeline
#1154
passed with stages
in 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dashboard-gsicrawler.env.html
View file @
afef3ef6
...
...
@@ -541,7 +541,7 @@ H2020 RIA Action Grant No. 740934 under the call SEC-06-FCT-2016 — Developing
},
'
categories.name
'
:
{
terms
:
{
field
:
"
taxonomies.rdfs:label.keyword
"
field
:
"
taxonomies.rdfs:label.keyword
"
,
size
:
8
,
order
:
{
_count
:
"
desc
"
...
...
@@ -579,22 +579,9 @@ H2020 RIA Action Grant No. 740934 under the call SEC-06-FCT-2016 — Developing
var
myids
=
[]
resp
.
hits
.
hits
.
forEach
(
function
(
entry
){
myids
.
push
(
entry
.
_id
)})
that
.
ids
=
myids
;
//console.log(that.sources)
/*var sources=that.sources
for (var i=0; i<resp['aggregations']['schema:author']['buckets'].length;i++) {
var key=resp['aggregations']['schema:author']['buckets'][i]["key"]
console.log(key)
if(key in sources)
console.log(sources)
resp['aggregations']['schema:author']['buckets'][i]["key"]=sources[key]
}*/
//resp['aggregations']['schema:author']['buckets'][1]["key"]="Dabiq"
//resp['aggregations']['schema:author']['buckets'][2]["key"]="Rumiyah"
that
.
data
=
resp
;
//console.log(that.data);
});
}
}
...
...
Write
Preview
Supports
Markdown
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