Skip to content
Discussion options

You must be logged in to vote

@SledgehammerPL

public function relationExtendViewFilterWidget($filterWidget, $relation, $model)
{
    $filterWidget->addScopes([
        'my_advanced_filter' => [
            'label' => 'Stan na dzień',
            'type' => 'date',
            'conditions' => "very complex sql",
            'default' => Carbon::now(),
        ],
    ]);
}

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@LukeTowers
Comment options

@SledgehammerPL
Comment options

@LukeTowers
Comment options

@SledgehammerPL
Comment options

@SledgehammerPL
Comment options

Answer selected by SledgehammerPL
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants