web/lib/metadataplayer/LdtPlayer-core.js
changeset 29 1449502d69c5
parent 0 7f8907368bd5
--- a/web/lib/metadataplayer/LdtPlayer-core.js	Fri Oct 25 11:52:08 2013 +0200
+++ b/web/lib/metadataplayer/LdtPlayer-core.js	Fri Oct 25 12:01:53 2013 +0200
@@ -448,7 +448,8 @@
     var res = this.filter(function(_element, _k) {
         var titlematch = rgxp.test(_element.title),
             descmatch = rgxp.test(_element.description),
-            _isfound = !!(titlematch || descmatch);
+            tagsmatch = rgxp.test(_element.getTagTexts()),
+            _isfound = !!(titlematch || descmatch || tagsmatch);
         _element.found = _isfound;
         _element.trigger(_isfound ? "found" : "not-found");
         return _isfound;