I've got a template for a store and I use repeater for opening hours.
When I'm on the store page I would like to search inside this repeater to find the hours related to a precise day.
Is it possible with selectors?
Just some explanation because it is interesting...
This isn't something that is specific to Repeaters - it applies to any selector used on a PageArray/WireArray (a Repeater field returns a PageArray).
When you do $some_pagearray->find() this is different to a $pages->find() - the method name is the same but they are actually totally different methods. See find() method in the PageFinder class vs the WireArray class.
When using $pages->find() the method refers back to the