From b1c5ae70fa98a7756508d87ed6bc2d88e5e052a1 Mon Sep 17 00:00:00 2001 From: Tom Powell Date: Sat, 1 Dec 2018 17:49:41 -0800 Subject: [PATCH] Allow filtering by build id --- ui/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/app.py b/ui/app.py index e1ce474..85aa8c3 100644 --- a/ui/app.py +++ b/ui/app.py @@ -45,6 +45,8 @@ def parse_args(): if 'date' in request.args: date = datetime.datetime.strptime(request.args.get('date'), '%Y-%m-%d').date() args['build_date'] = datetime.datetime.strptime(request.args.get('date'), '%Y-%m-%d').date() + if 'id' in request.args: + args['build_id'] = request.args.get('id') return args @cache.memoize() -- 2.20.1