roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eli...@apache.org
Subject svn commit: r521857 - /incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/FeedServlet.java
Date Fri, 23 Mar 2007 18:43:39 GMT
Author: eliast
Date: Fri Mar 23 11:43:38 2007
New Revision: 521857

URL: http://svn.apache.org/viewvc?view=rev&rev=521857
Log:
- Modified feed search path from /feed/search/atom?q= to /feed/entries/atom?q=

Modified:
    incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/FeedServlet.java

Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/FeedServlet.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/FeedServlet.java?view=diff&rev=521857&r1=521856&r2=521857
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/FeedServlet.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/FeedServlet.java Fri
Mar 23 11:43:38 2007
@@ -236,7 +236,7 @@
             // Load weblog custom models
             ModelLoader.loadCustomModels(weblog, model, initData);
             
-            if("search".equals(feedRequest.getType())) {
+            if("entries".equals(feedRequest.getType()) && feedRequest.getTerm() !=
null) {
                 pageId = "templates/feeds/weblog-search-atom.vm";                
                 ModelLoader.loadModels(SearchResultsFeedModel.class.getName(), model, initData,
true);
             }                        



Mime
View raw message