Pagination issue with groq query for blog posts filtered by author value.
Last updated: May 9, 2022
Hello, I’m looking for some help with my groq query. I’m trying to paginate a search for blog posts (type) filtered by author value (slug or name) and am unsure how to do so because I can’t seem to expand that reference in the initial filter. More in comments…
Apr 4, 2022, 2:45 PM
I did create this query which worked, for initial data, but now I need to paginate.
Hi Dani. Are you getting any errors or just no results?
Apr 5, 2022, 7:23 PM
Hey Geoff, I did eventually sort it out. I was trying to use template literals and was struggling since that would involve props and probably tagged template literals. I instead just went with a basic string
Apr 5, 2022, 9:44 PM
Thanks for following up. Glad to hear you got it working. 🎉