Jump to content

Proximity Search results not working


Dave Dodds

Recommended Posts

Greetings,

 

i'm setting up jreviews for the first time and am having problems with the proximity search.  i've been thru the documentation, the demo and the forum posts but have not yet found the cause.

 

here's the url in question:

 

http://ehuntfish.com/index.php/businesses

 

searching for businesses within 20 miles of Folsom CA should capture both my business listings in the results.  it doesn't.

 

the url produced by the search looks appropriate.

 

http://ehuntfish.com/index.php/businesses/search-results/order:distance/cat:19/query:all/jr_city:Folsom%2C+CA/jr_radius:20/jr_latitude:38.6779591/jr_longitude:-121.17605830000002/

 

my geomap and advanced search module setups are attached and my form code is included below.

 

any help is appreciated.

 

cheers,

 

Dave

 

<div class="jr_fieldDiv"> 

<?php __t("Category");?>: {category}</br>

<?php __t("Keywords");?>: <input type="text" class="jrText" name="data[keywords]" value="<?php echo Sanitize::getString($this->params,'keywords');?>" /></br>

</div>

 

 

 

<div class="jr_fieldDiv jr_floatLeft"> 

City: {jr_city}<br/>

</div>

 

 

 

      <div class="jr_fieldDiv jr_floatLeft">

<?php echo $Form->select(

'data[Field][Listing][jr_radius]',

array(

1=>'1 mile',

5=>'5 miles',

10=>'10 miles',

20=>'20 miles',

50=>'50 miles',

100=>'100 miles',

200=>'200 miles'

),

$radius,

array(

'id'=>'jr_radius'.$module_id,

'class'=>'jrSelect',

'selected'=>$radius

)

);?>   

</div>

 

<div class="jr_fieldDiv jr_floatLeft">

            <button onclick="jQuery(this).parents('form:eq(0)').attr('action',s2AjaxUri).submit();" class="jrButton" style="margin:0;"><?php __t("Search");?></button>

</div>

 

 

 

post-11681-14242989548157_thumb.png

post-11681-14242989548342_thumb.png

Link to comment
×
×
  • Create New...