Author: ssanbern
Date: 2007-06-26 14:46:13 +0200 (Tue, 26 Jun 2007)
New Revision: 5429
Modified:
branches/2.14/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/HittaWeatherSearchCommand.java
Log:
add param weather=true
Modified:
branches/2.14/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/HittaWeatherSearchCommand.java
===================================================================
---
branches/2.14/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/HittaWeatherSearchCommand.java
2007-06-26 11:43:36 UTC (rev 5428)
+++
branches/2.14/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/HittaWeatherSearchCommand.java
2007-06-26 12:46:13 UTC (rev 5429)
@@ -77,7 +77,7 @@
String yy = y.substring(2, endIndexy);
String hittaURL =
"http://www.hitta.se/SearchCombi.aspx?SearchType=4&UCSB%3aWflWhite=1a1b&UCSB%3aWflPink=4a&UCSB%3aTextBoxWho=&UCSB%3aTextBoxWhere="
- + encTransQuery;
+ +
encTransQuery+"&weather=true";
String hittaBigMapURL
="http://www.hitta.se/LargeMap.aspx?ShowSatellite=false&pointX="
+ yy
@@ -87,7 +87,7 @@
+ yy
+ "&cy="
+ xx
- + "&z=3&name=" + encTransQuery;
+ + "&z=3&name=" +
encTransQuery+"&weather=true";
result.addField("hittaURL", hittaURL);
@@ -99,7 +99,7 @@
} else if (traff > 1) {
String hittaURL =
"http://www.hitta.se/SearchCombi.aspx?SearchType=4&UCSB%3aWflWhite=1a1b&UCSB%3aWflPink=4a&UCSB%3aTextBoxWho=&UCSB%3aTextBoxWhere="
- + encTransQuery;
+ +
encTransQuery+"&weather=true";
result.addField("hittaURL", hittaURL);
result.addField("searchquery",
transQuery);
result.setHitCount(traff);
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits