corrections and optimisations 2
authorcavaliet
Fri, 25 Oct 2013 12:01:53 +0200
changeset 29 1449502d69c5
parent 28 2607ea318318
child 30 65fe3fc356ed
child 31 77e9c48a2357
corrections and optimisations 2
web/fullrenkan.html
web/index.html
web/lib/metadataplayer/LdtPlayer-core.js
--- a/web/fullrenkan.html	Fri Oct 25 11:52:08 2013 +0200
+++ b/web/fullrenkan.html	Fri Oct 25 12:01:53 2013 +0200
@@ -166,7 +166,7 @@
      + '              type: "Tagcloud",'
      + '              include_titles: false,'
      + '              include_descriptions: false,'
-     + '              tag_count: 99'
+     + '              tag_count: 200'
      + '          }';
 	 
 	        if(display_renkan==true){
--- a/web/index.html	Fri Oct 25 11:52:08 2013 +0200
+++ b/web/index.html	Fri Oct 25 12:01:53 2013 +0200
@@ -229,7 +229,7 @@
      + '              type: "Tagcloud",'
      + '              include_titles: false,'
      + '              include_descriptions: false,'
-     + '              tag_count: 99'
+     + '              tag_count: 200'
      + '          }'
 	 + '      ]'
 	 + '  };'
--- 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;