We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

{{#getPostsByTags}} don’t works in P. 0.43

  • #10718
    Avatar photo[anonymous]

    this code works perfectly in P. 0.42 and returns a list of featured posts into a HTML section:

    {{#getPostsByTags (concatenate "count=50&tag_as=id&allowed=featured&orderby=" @config.custom.landingOrderBy "&ordering=" @config.custom.landingOrdering)}}
       {{> landing}}

    In P. 0.43 the result are an empty HTML section.

    To update the website I was forced to downgrade 🙁

    Avatar photo[anonymous]


    Yes I can confirm this bug – it will be fixed in v.0.43.1:

    In the meantime you can just add excluded_status=foo – this should solve your issue

    Problem occurs when you are using allowed with value different than any and empty or not defined excluded_status

    Avatar photo[anonymous]

    Hi Tomasz,

    adding “excluded_status=foo” to the string fixes the problem.

    Thank you