Commit a6164d4f authored by Alberto Pascual's avatar Alberto Pascual
Browse files

minor fixes

parent 46726ce8
......@@ -52,7 +52,7 @@
<number-chart
icon="/images/news.ico"
stylebg="bg-yellow"
title="News selected"
title="Selected elements"
data="{{data}}">
</number-chart>
</div>
......@@ -217,7 +217,7 @@
</div>
<div>
<yasgui-ui
endpoint="http:///krusti.gsi:13030/gsicrawler/query"
endpoint="http:///${FUSEKI_ENDPOINT_DASHBOARD}/gsicrawler/query"
queries="{{queries}}">
</yasgui-ui>
</div>
......@@ -303,7 +303,7 @@
})
people = this.removeDuplicates(people, 'name')
console.log(people)
return people.slice(0,9)
return people.slice(0,8)
},
removeDuplicates: function(originalArray, prop){
var newArray = [];
......@@ -350,7 +350,7 @@
// undocumented params are appended to the query string
index: "gsicrawler",
body: {
size: 20,
size: 22,
query: {
multi_match:{
query: this.query,
......@@ -437,7 +437,7 @@
// undocumented params are appended to the query string
index: "gsicrawler",
body: {
size: 20,
size: 22,
query: {
bool: {
must: this.filters,
......
......@@ -29,7 +29,7 @@
<span style="font-size:15px; display:inline-block; vertical-align: middle;">{{news.schema:headline}}</span>
</div>
<div class="col-md-3">
<span style="text-align:center;padding-left: 16%;">{{getDate(news.schema:datePublished)}}</span>
<span style="text-align:center;padding-left: 16%;">{{getDate(news.schema:datePublished)}}</span><iron-icon style="left:96%; top: 8px;" icon="icons:search">
</div>
</div>
</div>
......@@ -142,7 +142,7 @@
var results = []
//console.log(hits)
hits.forEach(function(entry) {
results.push(entry._source);
if(entry._source['schema:author'] != 'twitter') results.push(entry._source);
});
//console.log(results)
that.data = results
......
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