- Issue created by @portulaca
- Status changed to Postponed: needs info
almost 2 years ago 3:51pm 23 January 2023 - π³π±Netherlands Lendude Amsterdam
@portulaca thanks for reporting this.
I can reproduce the issue. And while it's strange that the Feed somehow takes the lead on the path setting (I tried reordering the displays but it made no difference) by just setting Link display: Page (which is what that setting is for right?) is just links to the correct display and the problem is resolved, any reason not to do this?
- ππ·Croatia portulaca
Thank you for the suggestion! It does work.
I deleted what I had filled under the Base path in the Contextual filter, set the
Link display:
option underPager
toPage
and the Summary links are correct.It never occurred to me that Summary option of the Contextual filter counts as a Pager, although it does seem to perform that function.
The way Views interface is organized I assumed that the options under the Pager section are applied only to the pager links that are usually below results. I do see now that the description of the Link display option states its purpose:
Which display to use to get this display's path for things like summary links, rss feed links, more links, etc.
But that isn't so discoverable when setting up the Summary Contextual filter. Base path is one of the specific options of the Summary of a Contextual filter, and it seems reasonable to assume that that option would take precedence over all others. It's a bit confusing that it does actually help with the Summary/Feed situation if the Base path is filled in, but it doesn't if it's left empty.
Is there a recommendation or a most sensible way to set up various Views "link construction" options, especially when dealing with multiple displays shown on the same page?
If I fill in the
Base path
under Summary options, and setLink display
under Pager section the Summary links don't work out right, I only get the root path on all of them.So there must be some logic and conditions about when using the
Base path
under Summary is recommended and whenLink display
should be preferred.BTW
Link display
name also isn't very intuitive. It even has theCustom URL
option which doesn't vibe well with "display". Maybe "Pagination Base Path" or something similar would make more sense?I know Views and Views UI are complex, but if someone who has a comprehensive overview of them can suggest how this situation can be improved?
From my perspective in this case it would have helped me if the description text of the
Base path
under Summary in the Contextual filter mentionedLink display
option.Maybe add something like from:
Define the base path for links in this summary view, i.e. http://example.com/your_view_path/archive. Do not include beginning and ending forward slash. If this value is empty, views will use the first path found as the base path, in page displays, or / if no path could be found.
to
Define the base path for links in this summary view, i.e. http://example.com/your_view_path/archive. Do not include beginning and ending forward slash. If this value is empty, views will use the first path found as the base path, in page displays, or / if no path could be found. For more control use the Link display option under the Pager section.