Author: crossley
Date: Wed Aug  6 07:52:48 2014
New Revision: 1616117

URL: http://svn.apache.org/r1616117
Log:
Fixed the Lucene search results to properly show the "note" when zero hits are 
returned.

Modified:
    forrest/trunk/main/webapp/resources/stylesheets/lucene-search-to-xdoc.xsl
    forrest/trunk/site-author/status.xml

Modified: 
forrest/trunk/main/webapp/resources/stylesheets/lucene-search-to-xdoc.xsl
URL: 
http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources/stylesheets/lucene-search-to-xdoc.xsl?rev=1616117&r1=1616116&r2=1616117&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/lucene-search-to-xdoc.xsl 
(original)
+++ forrest/trunk/main/webapp/resources/stylesheets/lucene-search-to-xdoc.xsl 
Wed Aug  6 07:52:48 2014
@@ -42,7 +42,7 @@
         <title>Search Results</title>
       </header>
       <body>
-        <xsl:if test="not(search:hits)">
+        <xsl:if test="not(search:hits/search:hit)">
           <note>
 <xsl:text>Your search for </xsl:text>
             <code>

Modified: forrest/trunk/site-author/status.xml
URL: 
http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=1616117&r1=1616116&r2=1616117&view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Wed Aug  6 07:52:48 2014
@@ -154,6 +154,11 @@
         <link href="site:upgrading_010">upgrading to v0.10-dev</link>
       </action>
 <!-- 2014-## -->
+<!-- 2014-08 -->
+      <action context="code" type="update" dev="DC">
+        Fixed the Lucene search results to properly show the note when
+        zero hits are returned.
+      </action>
 <!-- 2014-06 -->
       <action context="code" type="update" dev="DC">
         Enable 'java' to be found on a modern Mac.