Filtering blog posts by category/tags

We are trying to solve why the filtering of categories and tags is no longer working on our site. Has something changed in the way filtering works? Currently our component tag is:

{% component type:“module”, source: “Blog Post”, layout:“List”, displayPagination: “true”, filterBy:“itemtags”, limit: “20”, filterValue:"{{request.request_url.params.tag}}", sortBy: “releasedate”, sortOrder: “DESC” %}

But it is returning 0 items. The data all looks correct when I output it on page, however, the params object is empty when I add a collection variable. We have tried hard coding the filterValue with no changes.

This issue may occur due to incorrect site indexing that took place earlier (items that have parent items like blog posts or pages in some folders weren’t indexed at all).

In order to fix it just click “rebuild index” button and wait till it ends.
If issue still occurs, go to /admin/module/1534/edit/layouts (layouts settings of Blog Post module) and click “reindex module” button http://prntscr.com/ohe8re
If the issue happens with pages on site search - do the same by this link /admin/module/1522/edit/layouts (Page module settings)

This steps should help with all common non-indexed items issues. If they didn’t help then contact support so we can fix the uncommon issue.

1 Like

Rebuilding the index seems to have solved it. Thanks!