Avoid false positives in plugin search (installed tab)
@@ -21,7 +21,8 @@ Behaviour.specify("#filter-box", '_table', 0, function(e) {
}
var makeVisible = true;
- var content = items[i].innerHTML.toLowerCase();
+ var pluginId = items[i].getAttribute('data-plugin-id');
+ var content = (items[i].querySelector('.details').innerText + " " + pluginId).toLowerCase();
for (var j = 0; j < filterParts.length; j++) {
var part = filterParts[j];
if (content.indexOf(part) < 0) {
