Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
https://community.shopify.com/c/technical-q-a/filtering-the-pagination/m-p/610500
I'm trying to make a pagination, which worked out. But now I want a filter in it that doesn't work very well.
{% paginate tickets by 10 %} {% for ticket in tickets %} {% if ticket.group.name == "Beefinity Support"%}
In this way I try to filter, so the intention is that I only have the tickets with the group name "Beefinity Support".
Now that succeeded, But i leave empty spots on the first page of the pagination. This is because the pagination thinks that the tickets of the other groups are also still there, but I have filtered them out.
Does anyone know how I can tell the pagination that the other groups are gone?
Or is there a way to filter in the pagination itself?
Screenshot of the problem:
oh sorry for that issue can you please share store url so i will check and let you know
Hi,
Thank you for your fast response. I will share the link with you soon.
I forgot to add one piece of information.
I am trying to filter collections by metafields.custom.is_vendor and metafields.custom.region (before pagination so that the pagination number will make sense).
Any update on this issue?
oh sorry for that issue can you please share store url so i will check and let you know
Hi
Did you find a solution?
Thanks
Imogen
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025