Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: Module filter at backend

$
0
0

You should post some more details about your situation. If you have a has_one relation between video and users (where Video has one 'User' you can get a users videos by using

Video::get()->filter('UserID', Member::currentUserID());

The search query would need to filter by that same 'UserID' field on your Video model.


Posted to: Module filter at backend | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles