This commit is contained in:
gauthiier
2017-11-24 09:52:14 +01:00
parent 608467fdd8
commit 464194c9b9
7 changed files with 72 additions and 9 deletions
+9
View File
@@ -35,12 +35,21 @@ function search_result_archive(a) {
text: r.thread.replace('_', ' ')
}).appendTo('#' + a.archive);
let hits = "<ul>";
console.log("---")
$.each(r.hits, function(j, h){
console.log(h)
let hit = '<li><a href="' + h.url+ '">' + h.subject + '</a> -- <i>' + h.author_name + '</i></li>';
hits += hit;
});
hits += "</ul>";
$('#' + r.thread + "-" + a.archive).append(hits);
console.log("***");
});
}