Query clause on info template click