Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Many_many only pulling 1 related entry
  • Hey I'm a bit new to the whole ORM thing. I have it working for the most part. I have:
    1 snippet related to 2 tags When I search for the snippet, I want it to pull both tags...right now I'm only getting 1 of the tags. Here is my code: Snippet Model -
    Tag Model - Test controller to show tags - Any help would be appreciated. Thanks.
  • Are you on 1.1-rc1? There's a known bug in there which has been fixed on Github in the 1.1-dev branch. It causes the relations to only return 1 result.
  • You are correct. I was using 1.0. I upgraded to 1.1-rc1 and it works beautifully. Thank you so much for your help. :)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion