updated transactions controller to send through filtering parameters