Skip to content
Discussion options

You must be logged in to vote

In my opinion, what if you just redirect to your video list, so from your module list, in your column name when you click make it redirect to video list

point it out so the a href tag will be something like this

<a href="{{route('video.index')}}?module_id=1">The module name </a>

then inside your setupListOperation

    // this is VideoCrudController.php
    protected function setupListOperation()
    {
        // add these lines
        if(request('module_id')){
            CRUD::addClause('where','module_id','=',request('module_id'));
        }

        //Here's another code
    }

I hope you get the idea and I hope I'm not wrong to understand what you want to achieve mate.
Let me know if …

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@denison
Comment options

Comment options

You must be logged in to vote
2 replies
@denison
Comment options

@christmex
Comment options

Answer selected by pxpm
Comment options

You must be logged in to vote
2 replies
@denison
Comment options

@jcastroa87
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants