I've asked this question on IRC and stackoverflow, but I may have described it wrong or too complica...
Bonus Update: I just realized that if I getXAttribute() I can then append this on my object and don'...
Actually, I think I solved it. I was looking in the wrong part of the documentation. This seems to w...
Alright I figured it out. Instead of trying to chain everything together into one I changed: $posts...
I'm now trying this: ->leftJoin(function($query) { if(Input::get('lookingfor'...
Like how? I was thinking like: ... ->where('ranks.id', '=', $rankID) ... If this would work, how...
The Laravel portal for problem solving, knowledge sharing and community building.