Dave Dodds Posted July 11, 2012 at 08:07 PM Share Posted July 11, 2012 at 08:07 PM 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> Link to comment
Alejandro Posted July 12, 2012 at 12:53 AM Share Posted July 12, 2012 at 12:53 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Dave Dodds Posted July 12, 2012 at 04:19 PM Author Share Posted July 12, 2012 at 04:19 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted July 12, 2012 at 05:45 PM Share Posted July 12, 2012 at 05:45 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts