Skip to content

Custom Order via applyOrderings not longer working #3986

Answered by StanBarrows
StanBarrows asked this question in Q&A
Discussion options

You must be logged in to vote

It's working, maybe a cache issue.

    protected static function applyOrderings($query, array $orderings)
    {
        $orderings = ['name' => 'asc'];
        return parent::applyOrderings($query, $orderings);
    }

Replies: 1 comment 1 reply

Comment options

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

Answer selected by StanBarrows
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