In ctools/views_content/plugins/views_panes.inc there is this code in the views_content_views_panes_add_defaults() function at line 316:

    'more_link' => $view->display_handler->get_option('more_link'),

However, the Views option 'more_link' is invalid -- it's actually called 'use_more'!

This bug will cause the content pane to be displayed without the more link when rendered with the default configuration. This has probably gone unnoticed because normally you aren't rendering a pane with the default configuration, but rather after actual configuration has been saved.

In Panopoly, we render previews of all the Panes with the default configuration, and this bug has caused all Views which show a "more link" by default to not show it.

I'll post a patch in a moment to fix this!

Comments

dsnopek’s picture

Status: Active » Needs review
StatusFileSize
new766 bytes

Patch is attached. Please let me know what you think! :-)

dsnopek’s picture

Issue tags: +panopoly

Marking this as a patch used in Panopoly

  • japerry committed a605b2b on 7.x-1.x authored by dsnopek
    Issue #2312505 by dsnopek: Views panes using invalid Views display...
japerry’s picture

Status: Needs review » Fixed

Lol.. Opps, fixed :-)

dsnopek’s picture

Woohoo! Thanks. :-)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.