From 46251a7e076aa23e4caa30c50f154382a1608ef1 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 30 Apr 2015 15:41:57 +0200 Subject: Add longname and author to filter --- data/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/script.js b/data/script.js index d680225..7e8bef3 100644 --- a/data/script.js +++ b/data/script.js @@ -18,7 +18,8 @@ $(document).ready (function () { var items = $('#protocols .protocol'); for (var i = 0; i < items.length; i++) { var e = $(items[i]); - if (e.data ('name').toLowerCase ().indexOf (search) >= 0) { + var val = e.data ('name') + ' ' + e.data ('longname') + ' ' + e.data ('author'); + if (val.toLowerCase ().indexOf (search) >= 0) { e.show (); } else { e.hide (); -- cgit v1.2.3