connect search and detail prototypes