Search JS: removed console.log debug calls
This commit is contained in:
parent
b4a5cdec55
commit
0b6969bf0c
@ -14,7 +14,6 @@ var elasticSearcher = (function() {
|
|||||||
page: 0,
|
page: 0,
|
||||||
|
|
||||||
setQuery: (function(q, _url){
|
setQuery: (function(q, _url){
|
||||||
console.log('setQuery!: ' + q + 'what :'+ _url);
|
|
||||||
deze.query=q;
|
deze.query=q;
|
||||||
if (_url !== undefined) {
|
if (_url !== undefined) {
|
||||||
deze.url=_url;
|
deze.url=_url;
|
||||||
@ -130,8 +129,6 @@ var elasticSearch = (function($, url) {
|
|||||||
url = '';
|
url = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('searching! '+ url + ' q= ' + q);
|
|
||||||
|
|
||||||
$.getJSON("/api/newsearch" + url + "?q=" + q, function( data ) {
|
$.getJSON("/api/newsearch" + url + "?q=" + q, function( data ) {
|
||||||
let hits = data.hits.hits;
|
let hits = data.hits.hits;
|
||||||
newhits = hits.map(function(hit){
|
newhits = hits.map(function(hit){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user