Commit 5701d5c5 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1312: Implement initial vocabulary browsing mechanism

Task-Url: https://pm.winseda.de/issues/1312
parent e95a1ff5
......@@ -95,9 +95,9 @@ ResponseHandler.prototype.processFilters = function(filters) {
classes += " selected";
}
ul.append( "<li " + (classes.length>0 ? "class='" + classes + "'" : "") + ">" +
"<button class='btn btn-inline' onclick=\"search." + (selected ? 'removeFilterTerm' : 'addFilterTerm') + "('" + filters[i].label + "', '" + term.type + "', '" + term.term + "', this);\">" +
"<span onclick=\"search." + (selected ? 'removeFilterTerm' : 'addFilterTerm') + "('" + filters[i].label + "', '" + term.type + "', '" + term.term + "', this);\">" +
(selected ? "<i class=\"fas fa-times\"></i> " : "") + term.term + " (" + term.count + ")" +
"</button></li>");
"</span></li>");
}
......
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