I have a simple component that displays a list of products. I want to separate the products by type. Is there a way through the task= or something like that where I can call a different function in the model? Or... better question: How would I go about using the url to retrieve different data, change a header on the template, but display the data in the same way for each type?
sql will look something like:
SELECT * FROM stoves WHERE type=1
SELECT * FROM stoves WHERE type=2