Search function for a repeater

tried that earlier and caused a different error point at the end, also did not do any filtering at all