Welcome Guest, Not a member yet? Register   Sign In
How can I pass a parameter to a view if it is not in the URL?
#4

Replace it with posts then. It's just an example...

And that's how I would solve it, with a join. As it will only require one query instead of X, where X are are the number of categories you have. Your application will run slow if you make multiple queries instead of utilizing joins.
Reply


Messages In This Thread
RE: How can I pass a parameter to a view if it is not in the URL? - by jreklund - 05-21-2018, 02:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB