• Good Morning,

    Thank you very much first of all.
    I have a problem and that is that when opening the folder where I have the files it only loads 20, I give it to load more files and it does not respond.

    If I order by name it loads all the files without any problem. My question is, is there a way to change the default order to name? Or can I change that by default more than 20 files are displayed so that this problem does not?

    A greeting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter micadito

    (@micadito)

    I have found a temporary solution, changing the limit of the files from 20 to 40.

    To change it we have to go to:

    Buddydrive>inclues>buddydrive-item-ajax.php

    Where says:

    $defaults = array(
    ‘paged’ => 1,
    ‘per_page’ => 20,
    ‘type’ => array( buddydrive_get_folder_post_type(), buddydrive_get_file_post_type() ),
    ‘orderby’ => ‘modified’,
    ‘order’ => ‘DESC’,
    ‘buddydrive_scope’ => buddydrive_get_current_scope(),

    Substitute 20 for 40 and temporarily fixes that the load more button does not work.
    I wait for some solution to fix the button load more and change the default order to name.

    Thread Starter micadito

    (@micadito)

    In the same file modify:

    $defaults = array(
    ‘paged’ => 1,
    ‘per_page’ => 80,
    ‘type’ => array( buddydrive_get_folder_post_type(), buddydrive_get_file_post_type() ),
    —>>> ‘orderby’ => ‘title’,
    —>>> ‘order’ => ‘ASC’,
    ‘buddydrive_scope’ => buddydrive_get_current_scope(),

    to change the default order to name, now I’m looking at how to change the list so that first name appears

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Buddydrive not loading all items’ is closed to new replies.