Skip to content

Commit

Permalink
filter list in mappers view
Browse files Browse the repository at this point in the history
  • Loading branch information
heynemann committed Jul 13, 2012
1 parent f8ce90b commit 99e741c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion r3/web/app.py
Expand Up @@ -62,8 +62,9 @@ def index():
def mappers():
flush_dead_mappers(db.connection, MAPPERS_KEY, LAST_PING_KEY)
all_mappers = get_mappers()
all_job_types = db.connection.smembers(JOB_TYPES_KEY)

return render_template('mappers.html', mappers=all_mappers)
return render_template('mappers.html', mappers=all_mappers, job_types=all_job_types)

@app.route("/failed")
def failed():
Expand Down

0 comments on commit 99e741c

Please sign in to comment.