Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Change Order by (Groups –> Documents)

Viewing 5 replies - 1 through 5 (of 5 total)

  • Venutius
    Moderator

    @venutius

    Are you talking about BP Group Documents or BuddyPress Docs? These plugins have their own support.

    Hi Ulrich-

    I’m guessing this is also about BP Docs, and the same filter holds the answer:

    
    add_filter( 'bp_after_bp_docs_has_docs_parse_args', function ( $args ) {
        $args['orderby'] = 'title';
        $args['order'] = 'ASC';
        return $args;
    } );
    

    ulrich.stettler
    Participant

    @ulrichstettler

    Thanks, I’ll post it also on the BuddyPress Grpoups Forum, this could also be marked as solved.


    ulrich.stettler
    Participant

    @ulrichstettler

    I have already add the filter to the function.php from the theme, but I didn’t change anything


    Venutius
    Moderator

    @venutius

    Yes, I can confirm this, I set my test setup to orderby title and the default still showed as Last Edited.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar