SOLR-2178: fixed minor issue on landing /browse

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026130 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2010-10-21 20:33:19 +00:00
parent 2629d2cbbc
commit aa6adb69f4
1 changed files with 2 additions and 2 deletions

View File

@ -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>