To reproduce:
- Create a new view, with at least one argument
- Set the overall view title to 'A', and the argument title to '%1'
- Create a views pane for the view, and set the argument to 'input on panel config' (for easy testing)
- Add the pane to a new panel, and set the argument to something that should show some results
- Note that the title is still at 'A', rather than the argument value you set (as it is whenever the same view as a page or block)

This is occurring because the arguments are not being passed into views_get_title(), and so you always get the default view title, no matter what arguments you pass in. Of course you can always override the title for the pane itself, but this duplicates work and can lead to inconsistency.

See attached patch.

CommentFileSizeAuthor
panels_views_title_args_0.patch705 bytesowen barton

Comments

sdboyer’s picture

Status: Needs review » Closed (fixed)

Nice catch. Committed for beta3. Thanks.