Skip to content

Newsroom resources limit parameter not working as expected

The limit param will limit the number of newsroom resources displayed. If we only show case studies and set limit to 3, we will see three case studies.

The problem arises when you have multiple types to display. If limit is still 3 but we're displaying social media kits, case studies, and white papers, we could see anywhere between 0 and 9. This is because this limit counts for each type individually instead of the whole sum.

The expected behaviour would be that limit will only render 3 resources no matter what.

This is a blocker for topic pages with the redesign.