Problem/Motivation
After updating this module from 7.x-1.15 to 7.x-1.17, the 'more' link on Views content pane displays no longer shows up:

Also, exposed filters in a block on a page other than the views page do not work -- using the exposed form does not take you to the views page as it should.
These are both caused by the change in #2242375: Attach feeds to a views pane. In that issue Content pane displays are said to always have a path. But due to an issue in Views, 'more' links are not supported for displays that have a path, even if you can configure one: #1427854: "More link" option should have configurable target for views page displays.
Steps to reproduce
- Create a number of nodes.
- Create a view with a Page display and a Content pane display.
- On the Content pane display, configure to show only a specified number of items (for example: 3 items).
- On the Content pane display, on 'More link' enable options 'Create more link' and 'Display 'more' link only if there is more content'.
- Render the Content pane display.
Expected result
When there are more than 3 results, a more link should be shown.
Actual result
No more link gets shown.
Proposed resolution
Revert the change from #2242375: Attach feeds to a views pane and add test coverage for rendering the 'more' link.
Remaining tasks
- Review
- Commit
- Reopen #2242375: Attach feeds to a views pane
User interface changes
API changes
Data model changes
A patch with tests will follow.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | interdiff-3179884-2-4.txt | 1.07 KB | megachriz |
| #4 | ctools-migrate-support-3179884-4.patch | 8.34 KB | megachriz |
| #2 | ctools-views-content-pane-more-link-3181701-tests-only.patch | 7.61 KB | megachriz |
| content-pane-more-link.png | 85.65 KB | megachriz |
Comments
Comment #2
megachrizThe tests only patch should fail.
Comment #4
megachrizCode style fixes.
Comment #5
cliddell commentedTesting Notes:
RTBC
Comment #6
freelockThis issue also affects exposed filters set to be a block, and placed on a different page.
Without the patch, using exposed filters on a page different from the view, you get returned to the page you are on, with no view results.
With this patch, the correct behavior is restored -- using exposed filters takes you to the corresponding view page, and you get filtered results. This worked up until 7.x-1.6.
Comment #7
joelpittetThank you very much @MegaChriz for the tests and steps to reproduce and all who helped. I've committed this to dev for the next release.
Comment #9
megachriz@joelpittet
Thanks for committing! You may want to reopen #2242375: Attach feeds to a views pane, because the changes in that issue were reverted by this one.