Filter sales according to state of sale #5772

take state as an request args