Changeset 689


Ignore:
Timestamp:
Oct 12, 2005, 2:49:28 AM (16 years ago)
Author:
Earle Martin
Message:

always pass latitude and longitude to the template if criteria for distance search are defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/SuperSearch.pm

    r688 r689  
    156156        # Make sure to pass the criteria to the template.
    157157        $tt_vars{dist} = $self->{distance_in_metres};
     158        $tt_vars{latitude} = $self->{latitude};
     159        $tt_vars{longitude} = $self->{longitude};
    158160        if ( $self->config->geo_handler eq 1 ) {
    159161            $tt_vars{coord_field_1_value} = $self->{os_x};
Note: See TracChangeset for help on using the changeset viewer.