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:08:40 UTC

svn commit: r510567 - /incubator/roller/trunk/web/WEB-INF/velocity/weblog.vm

Author: snoopdave
Date: Thu Feb 22 08:08:39 2007
New Revision: 510567

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

Modified:
    incubator/roller/trunk/web/WEB-INF/velocity/weblog.vm

Modified: incubator/roller/trunk/web/WEB-INF/velocity/weblog.vm
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/WEB-INF/velocity/weblog.vm?view=diff&rev=510567&r1=510566&r2=510567
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/velocity/weblog.vm (original)
+++ incubator/roller/trunk/web/WEB-INF/velocity/weblog.vm Thu Feb 22 08:08:39 2007
@@ -695,7 +695,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>