Author: daniele
Date: 2007-05-15 15:57:03 +0200 (Tue, 15 May 2007)
New Revision: 5093

Modified:
   
trunk/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/CatalogueAdsSearchCommand.java
Log:
GULD-526: Updated to work with new who/where parameter logic.

Modified: 
trunk/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/CatalogueAdsSearchCommand.java
===================================================================
--- 
trunk/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/CatalogueAdsSearchCommand.java
       2007-05-15 13:22:02 UTC (rev 5092)
+++ 
trunk/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/CatalogueAdsSearchCommand.java
       2007-05-15 13:57:03 UTC (rev 5093)
@@ -95,7 +95,13 @@
         }        
         
         
-        originalQuery = super.getTransformedQuery().replaceAll("\\W", 
"").toLowerCase();
+        
+        if(getSingleParameter("who")!=null) {
+            originalQuery = getSingleParameter("who").replaceAll("\\W", 
"").toLowerCase();            
+        }else{
+            originalQuery = super.getTransformedQuery().replaceAll("\\W", 
"").toLowerCase();
+        }
+        
     }
 
     /**

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to