Here’s the comment “queue’d” up.
Here’s the use case.
This may seem like a hack, but I think it will work.
Put two page includes there. 1: going to a page that just says “sorry, nothing to see here” and 2: going to your contact detail page - and has as query string the ID of the first row of the model most predictably will have data.
Then conditionally render the two includes.
- Include 1 only renders if no rows are in that selected model.
- Include 2 only renders if there ARE rows in that selected model.
I think that’ll work as well. Why didn’t I think of that.
This worked.