new search procedure to include searches in related table pictureLink