You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2007/02/22 17:09:24 UTC

svn commit: r510568 - /incubator/roller/branches/roller_3.1/web/WEB-INF/velocity/weblog.vm

Author: snoopdave
Date: Thu Feb 22 08:09:24 2007
New Revision: 510568

URL: http://svn.apache.org/viewvc?view=rev&rev=510568
Log:
Fixes ROL-1344: Search again doesn't retain chosen category when searching by category

Modified:
    incubator/roller/branches/roller_3.1/web/WEB-INF/velocity/weblog.vm

Modified: incubator/roller/branches/roller_3.1/web/WEB-INF/velocity/weblog.vm
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.1/web/WEB-INF/velocity/weblog.vm?view=diff&rev=510568&r1=510567&r2=510568
==============================================================================
--- incubator/roller/branches/roller_3.1/web/WEB-INF/velocity/weblog.vm (original)
+++ incubator/roller/branches/roller_3.1/web/WEB-INF/velocity/weblog.vm Thu Feb 22 08:09:24 2007
@@ -677,7 +677,7 @@
             <select name="cat">
             <option value="">- In Category -</option>
             #foreach( $cat in $cats )
-              <option #if($cat.name == $model.term)selected="selected"#end>$cat.name</option>
+              <option #if($cat.name == $model.weblogCategory.name)selected="selected"#end>$cat.name</option>
             #end
             </select>