Filter sales according to state of sale #5772

filtered_by=filter_by