Filter database query with with info inside the input text and repeat region

Hello,
I hope someone can help me here.

I have a query based on text input: “filter” and “location”

I stated multiple conditions:
subcategories contain “filter” and city begin with “location”
OR
Service contain “filter” and city begin with “location”
OR
Company name contain “Filter” and city begin with “location”


When the query work when write the subcategories or services, company. However, it display two separate info when I type the company name.
I would like to be able to type the company name and display only the company name but all the services with the company name together. I also would like to avoid the duplicated query when search for company name because it display separately the name of the company and each service.


Is there anyway I can request subcategories and services in the same text input field such as Restaurant taco.


Any recommendation will be very useful.

Capture|690x241

Community Page
Last updated: