changing filtering to querysting param