DIAGNOSTICS:
SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM perch2_content_regions WHERE regionKey='Propiedades' AND (regionPage='/propiedades/filter.php' OR regionPage='*')
SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM perch2_content_index idx
JOIN perch2_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID
JOIN perch2_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID='7' AND idx.itemRev='0')) AND ((idx.indexKey='modalidad-u-operacion' AND idx.indexValue='venta')) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev
) as tbl GROUP BY itemID ORDER BY sortval ASC
Using template: /templates/content/lista.html
SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=0
Using template: /templates/forms/property_filter.html
That looks fine. Can you add debug to your page and let me know what it outputs?
on page filter.php:
Ok, that looks good. Do you have content you'd expect it to match?
a list of properties that match the search terms. Thanks Drew.
Does the list display with no filters applied?
Hi Drew, displays the list of all properties.
Can you manually filter it successfully?
and how it could do so?.
Just add a filter to your code by hand.
Done, but not filtered anything.
Which version of Perch are you using?
Perch 2.6.3
That should be fine then.
Do you have items where
tipo-de-propiedad
is set tocasa
?I translate it to make it more clear: tipo-de-propiedad (type-of-property) is a Category, casa (house) is a set.
Ok. How many items do you expect it to return?
two items.
I'm unsure how to help further.
I understand, I feel that we were almost there, thank you very much.