go to this link
[url removed, login to view]+Mall&app=5&layout=frontpage&Itemid=102&Mall=861
where it says "FILTRAR POR"
click the dropdown
select " ROPA PARA DAMAS"
the red button on the right
the results are from another category
if you can see they are from "BLUE MALL"
not from the one we were before which is "AGORA MALL"
this search form is suppose to filter within results of that particular category
when we perfom this search it should return no results because right now in that same category "ROPA PARA DAMAS" has no items assign
the same thing happens when we make a search on the category "BLUE MALL"
go to this link
[url removed, login to view]+Mall&app=5&layout=frontpage&Itemid=102&Mall=862
Search for "ROPA PARA CABALLEROS"
then you will get results from the category "AGORA MALL"
you will see "ZARA AGORA MALL" which belongs to the category I first sent you as an example
so the same thing happens in all the other red tabs at the top which has a search filter like this
every filter should behave exactly the same, only showing results from the category the user is at in that specific moment
remember that this website will have many items like this that user will be adding in the admin, so this should work in all future items or categories
this website is a mall directory so AGORA MALL and BLUE MALL are items that include all the stores that mall has in their building
AGORA MALL is a category with many items, that's why this filter is necesery so users can filter the type of store they are looking for in that specific mall