diff --git a/flask-app/mtw/flask.py b/flask-app/mtw/flask.py index 49271f1..8f7c797 100644 --- a/flask-app/mtw/flask.py +++ b/flask-app/mtw/flask.py @@ -46,7 +46,7 @@ def __call__(self, environ, start_response): app.config.update(dict( APP_NAME = 'MTW', - APP_VER = '1.3.0', + APP_VER = '1.3.1', API_VER = '1.0.0', APP_URL = '/mtw', DEFAULT_THEME = 'slate', @@ -942,7 +942,7 @@ def browse(top, tn, action): if request.args.get('show'): show = request.args.get('show').strip() - if show in ('all','translated','todo','scn','ntx'): + if show in ('all','translated','todo','scn','ntx','notpref'): session['show'] = show if request.args.get('status'): @@ -1000,7 +1000,7 @@ def search(dui, action): if request.args.get('show'): show = request.args.get('show').strip() - if show in ('all','translated','todo','scn','ntx'): + if show in ('all','translated','todo','scn','ntx','notpref'): session['sshow'] = show if request.args.get('status'): diff --git a/flask-app/mtw/templates/snips/filters.html b/flask-app/mtw/templates/snips/filters.html index 3fd4e51..a7d256b 100644 --- a/flask-app/mtw/templates/snips/filters.html +++ b/flask-app/mtw/templates/snips/filters.html @@ -6,6 +6,8 @@ {% set SCN_CHECKED = 'checked' %} {% elif show == 'ntx' %} {% set NTX_CHECKED = 'checked' %} + {% elif show == 'notpref' %} + {% set NOTPREF_CHECKED = 'checked' %} {% else %} {% set ALL_CHECKED = 'checked' %} {% endif %} @@ -17,19 +19,19 @@