Hi colleagues,
I have an inventory page that is currently being fetched based on its category. If no category is selected, then it fetch the last 25 records. Which is fine, but I had to add a search based on the "make" and "model" of the inventory (since the website sells cars) and I cannot figure out for the life of me how to add it to the "where" clause of the "where" parameters of "getResources"
Here is my snippet call:
[[!getPage?
&parents=`13`
&tpl=`Inventory.tpl`
&includeTVs=`1`
&processTVs=`1`
&tvPrefix=``
&where=`[[!TaggerGetResourcesWhere]]`
&limit=`25`
&offset=`[[Paginate]]`
&element=`getResources`
]]
Please help. I read the documentation that the value of "where" should be in json but I can't really figure out how to implement it. Any directions will be much appriciated.