community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1685324 - /comdev/projects.apache.org/site/js/projects.js
Date Sat, 13 Jun 2015 20:36:52 GMT
Author: hboutemy
Date: Sat Jun 13 20:36:52 2015
New Revision: 1685324

URL: http://svn.apache.org/r1685324
Log:
fixed search

Modified:
    comdev/projects.apache.org/site/js/projects.js

Modified: comdev/projects.apache.org/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1685324&r1=1685323&r2=1685324&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sat Jun 13 20:36:52 2015
@@ -1345,9 +1345,9 @@ function searchProjects(str) {
     var ul = document.createElement('ul');
         
     for (h in hitssorted) {
-        h = hitssorted;
+        h = hitssorted[h];
         var project = hits[h];
-        var html = "<h4><a href='/project.html?" + h + "'>" + projects[h].name
+ "</a> (" + project.length + " hit(s)):</h4>";
+        var html = "<h4><a href='project.html?" + h + "'>" + projects[h].name
+ "</a> (" + project.length + " hit(s)):</h4>";
         for (x in project) {
             html += "<blockquote><b>" + project[x].key + ":</b> " +  project[x].val
+ "</blockquote>";
         }



Mime
View raw message