Repeating group search only shows first or no entry

Hello, been struggling with this one, I’ve a RG I want to display items of a cart, the “cart” is a thing and the “cart items” are also things, the cart items unique ids are saved in the cart as a list of texts.

The “cart” is being sent to the page and the RG is searching the “current page thing” for “cart items” with the unique id’s that are within the “cart”, this seems logical/straight forward but I can not get it to work.
I can get the first or last item to display in the RG using “first” “last” in the expression editor but I can’t get the expression to work (see pic) to return multiple results and I can not work it out.
I am sure it is something simple I’ve overlooked but any help would be much appreciated.


Hi @slicecomponents :wave:
You can try like this

It doesn’t seem logical to me (unless I’m missing something)… I think you’re making it more complicated than it needs to be… (besides, I’m not sure that actually makes any sense…)

Surely your RG datasource should just be Current Page Cart's Cart Items, no? (have you tried that?)

Thanks Vajih and Adam, I think I’ve solved it with your help, I needed to make ‘cart items’ type cart items and not text as I had it. :grinning:

2 Likes