×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: search by street/country/town don't work

search by street/country/town don't work 11 years 11 months ago #18522

  • Grazing Cat .Inc
  • Grazing Cat .Inc's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
When I want to search by street/country/town don't work !
I find a bug in the source code
component->models->hotspot
line 178 to line 180
$street = $q->quoteName('m.name');
$country = $q->quoteName('m.name');
$town = $q->quoteName('m.name');

Should be modified to:
$street = $q->quoteName('m.street');
$country = $q->quoteName('m.country');
$town = $q->quoteName('m.town ');

then search by street/country/town work!
The following user(s) said Thank You: Daniel Dimitrov

search by street/country/town don't work 11 years 11 months ago #18523

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Wow, thank you for the report and a bigger thank you for fixing the problem :)
I've added the changes to our repository and they'll be included in the next update!
Thanks!
Daniel
  • Page:
  • 1
Time to create page: 0.137 seconds