Receive query as argument in ListAction