Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Where are search queries?
(1 viewing) (1) Guest
Universal booking and reservations component for Joomla!.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Where are search queries?

Where are search queries? 12 years, 2 months ago #33515

  • Krx
  • OFFLINE
  • Posts: 29
Hello

I need to modify/add few search functions so I wonder where are search queries located?
I need to add three Properties for distances:
- distance from the sea, from the center and from the restaurant.

My idea is to create em as select list with these values: 50, 100, 200, 300, 400, 500, 1000, 2000, 3000, 4000 and 5000. Those numbers represent meters.

If someone search by selecting distance from the sea: 1000 m, search query should show all objects with 1000m and smaller distances.

I'd like to modify database query (and hard code desired Properties) to search with <= instead of just =

So which file holds search queries?
The topic has been locked.

Re: Where are search queries? 12 years, 2 months ago #33521

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

You should find SQL queries in administration/components/com_booking/models/subjects.php
ARTIO Support Team
The topic has been locked.

Re: Where are search queries? 12 years, 2 months ago #33813

  • Krx
  • OFFLINE
  • Posts: 29
Hi Maju

Thanks :)
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný