Forum

Thread tagged as: Problem, Runway

Collections list not complete in Collections tab

24 collections are listed under "Listing all Collections" from the collections tab.

35 collections are listed in an Edit Page -> Collections, Manage from this page. (This is the complete listing).

No error messages are displayed.

Any ideas?

running Perch Runway 2.8.5

thanks!

Raymond Wiggins

Raymond Wiggins 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Do you still see the issue if you update to the latest version?

Can we see your Diagnostics Report?

here's part of the diagnostic report - what looks odd is the <?php just after the runtimes, not sure if this is normal. Not sure if there's a secure way to share the full report - I'm not keen on exposing my server specifics in a public forum.

I've updated to the latest version. Still same issue.

Perch information
Perch Runway: 2.8.6
Production mode: Production (100)
Installed apps: content (2.8.6), assets (2.8.6), categories (2.8.6), perch_backup (1.2)
DB driver: PDO
DB tables: acs2perch2_backup_plans, acs2perch2_backup_resources, acs2perch2_backup_runs, acs2perch2_categories, acs2perch2_category_counts, acs2perch2_category_sets, acs2perch2_collection_index, acs2perch2_collection_items, acs2perch2_collection_revisions, acs2perch2_collections, acs2perch2_content_index, acs2perch2_content_items, acs2perch2_content_regions, acs2perch2_navigation, acs2perch2_navigation_pages, acs2perch2_page_routes, acs2perch2_page_templates, acs2perch2_pages, acs2perch2_resource_log, acs2perch2_resource_tags, acs2perch2_resources, acs2perch2_resources_to_tags, acs2perch2_settings, acs2perch2_user_privileges, acs2perch2_user_role_privileges, acs2perch2_user_roles, acs2perch2_users, perch2_backup_plans, perch2_backup_resources, perch2_backup_runs, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_collection_index, perch2_collection_items, perch2_collection_revisions, perch2_collections, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_navigation, perch2_navigation_pages, perch2_page_routes, perch2_page_templates, perch2_pages, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 1
App runtimes: <?php
    $apps_list = array(
        'content', 
        'categories',
    );

Editor plug-ins: markitup, redactor
H1: 0caf928fa5f61e4adecee7fc18ea8e4e
L1: 54ab359c8ca04618780475f76f776a61
headerColour: rgb(54,54,54)
content_singlePageEdit: 1
helpURL: 
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.5: done
headerScheme: dark
latest_version: 2.8
on_sale_version: 2.8.6
update_runway_2.8.6: done.....
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, that's normal.

It sounds like maybe the pagination controls aren't displaying for you. Do they appear in other listings?

I see pagination controls in the "listing all assets" area.

I've edited the collection.list.post.php file to include the paging function I lifted from the asset area to be the following:

It works as expected now.

<?php include (PERCH_PATH.'/core/inc/sidebar_start.php'); ?> <p><?php //echo PerchLang::get(''); ?></p> <?php include (PERCH_PATH.'/core/inc/sidebar_end.php'); ?> <?php include (PERCH_PATH.'/core/inc/main_start.php'); ?> <?php include ($app_path.'/modes/_subnav.php'); ?>

<?php if ($CurrentUser->has_priv('content.collections.create')) { ?>
<a class="add button" href="<?php echo PerchUtil::html(PERCH_LOGINPATH.'/core/apps/content/manage/collections/edit/'); ?>"><?php echo PerchLang::get('Add collection'); ?></a>
<?php } // content.collections.create ?>

<h1><?php echo PerchLang::get('Listing all collections'); ?></h1>

<?php
/* ----------------------------------------- SMART BAR ----------------------------------------- */

/* ----------------------------------------- /SMART BAR ----------------------------------------- */
$Alert->output();

echo $HTML->listing($collections, 
        array('Title', 'Items', 'Updated'), 
        array('collectionKey', 'get_item_count', 'collectionUpdated'), 
        array(
                'edit' => '../../collections',
                'delete' => 'delete',

            ),
        array(
            'user' => $CurrentUser,
            'edit' => 'content.collections.manage',
            'delete' => 'content.collections.delete',
            'not-inline' => true,
            )
        );


        if ($Paging->enabled()) {
            echo '<div class="paging-cont">';
            echo $HTML->paging($Paging);
            echo '</div>';
        }
?>

<?php include (PERCH_PATH.'/core/inc/main_end.php'); ?>

Drew McLellan

Drew McLellan 2638 points
Perch Support

That would do it! We've fixed this for the next release.