Support » Plugin: YouTube Video Importer » pagination issue on MyTube Account page

  • laurent



    I found Another issue with this plugin.
    The pagination system seems to be out on the MyTube Account page.

    When I’m listing my youtube playlists, only the first page is displayed.
    I’ve got 56 results but only the 20 first ones can be displayed.
    Clicking on the next pages changes nothing.
    The page is updated, the query string too (example of an url : wp-admin/edit.php?post_type=video&page=yvi_my_youtube&paged=3) but the results are the same.

    Thanks for your help

Viewing 1 replies (of 1 total)
  • laurent


    For solving my problem I’ve changed the following line
    $per_page = 50;
    in the “wp-content/plugins/youtube-video-importer/functions/admin/libs/channels-list-table.php” file, line #150.

    On my opinion, It seems that the issue comes from the “page_token” parameter (line #158 of this file).

    I think that the values to use from youtube API are nextPageToken and prevPageToken.
    They are well retrieved and stored by the “_set_query_info” function but I could not found the code that should copy one of these values into the “page_token” parameter.

    I hope it can help .

Viewing 1 replies (of 1 total)
  • The topic ‘pagination issue on MyTube Account page’ is closed to new replies.