Filter sales according to state of sale #5772

request.args.get('state', None)