Apache Lucene open-source search software
SOLR-2178: fixed minor issue on landing /browse
Grant Ingersollaa6adb69f4ea
diff --git a/solr/example/solr/conf/velocity/query.vm b/solr/example/solr/conf/velocity/query.vmindex 4dd23569aca..3e77b95908d 100644--- a/solr/example/solr/conf/velocity/query.vm+++ b/solr/example/solr/conf/velocity/query.vm@@ -5,7 +5,7 @@<div class="query-boost"><span #annTitle("Add the boost function &bf=price to the query")><input type="checkbox" name="bf" value="price" #if($request.params.get('bf') == 'price')checked="true"#end>Boost by Price</input></span><span >#set($loc = $request.params.get('pt'))- #set($dist = $request.params.get('d'))+ #set($dist = $request.params.get('d', "10"))<label #annTitle("Add the &pt parameter")>Location Filter:<select id="pt" name="pt"><option value="none" #if($loc == '')selected="true"#end>No Filter</option>@@ -15,7 +15,7 @@<option value="37.7752,-122.4232" #if($loc == '37.7752,-122.4232')selected="true"#end>San Francisco CA</option></select></label>- <span #annTitle("Add the &d parameter")>Distance (KM): <input id="d" name="d" type="text" size="6" value="#if($dist != '')$dist#{else}10#end"/></span>+ <span #annTitle("Add the &d parameter")>Distance (KM): <input id="d" name="d" type="text" size="6" value="#if($dist != '')${dist}#{else}10#end"/></span><input type="hidden" name="sfield" value="store"/><input type="hidden" id="spatialFQ" name="fq" value=""/></div>