Possible BUG: Double Blog Post component tags & Pagination issue

I think I have come across an issue:

So in the Blog Detail Layout, I call the Blog Post module twice:
1 - Standard Blog Post listing
2 - Sidebar with 10 most recent Items.

1 - code has isSearchResult enabled for Tag functionality like so:

{% component type:"module", source: "Blog Post", layout:"List", filterBy:"parentid", filterValue:"{{this.id}}", isSearchResult: "true", displayPagination: "true", sortBy: "releasedate", sortOrder: "DESC" %}

2 - call on the Layout is for a side bar listing for the 10 most recent posts:

{% component type:"module", source: "Blog Post", collectionVariable: "recentCollection", filterBy:"parentid", filterValue:"2090", limit: "10", sortBy: "releasedate", sortOrder: "DESC", displayPagination: "false" %}
<ul>
	{% for r in recentCollection.items %}<li><a href="{{r.url}}" title="{{r.name}}">{{r.name}}</a></li>{% endfor %}
</ul>

Note that I have pagination enabled as well: https://inlandpetroleum.trialsite.co/news

The issue is that when you go to a pagination page ie https://inlandpetroleum.trialsite.co/news?page=4&prop_ModuleId=1534 the Recent Post list only shows posts on that page.

It seems like it is being affected but the URL params, even though the isSearchableResult is false (by default) for the 2nd call.

Expected behaviour for the 2nd call: 10 most recent posts.

I have been trouble shooting this one with @Adam.Wilson and we think it may be a liquid scope bug or something… i’ll let him post additional comments if he would like :slight_smile:

@alex.n Just wanted to ping you and see if you had any thoughts on this?

Hi @James,

We’re aware of the bug. This will be fixed in the upcoming sprints.