Alphabetize filters before sending to jinja.
This commit is contained in:
parent
176e5fa1e2
commit
d2f940b286
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ def get_feed_settings(feed_id):
|
||||||
feed_filters = list(feed.get_filters())
|
feed_filters = list(feed.get_filters())
|
||||||
available_filters = set(common.bringdb.get_filters())
|
available_filters = set(common.bringdb.get_filters())
|
||||||
available_filters.difference_update(feed_filters)
|
available_filters.difference_update(feed_filters)
|
||||||
|
available_filters = sorted(available_filters, key=lambda filt:filt.name.lower())
|
||||||
return common.render_template(
|
return common.render_template(
|
||||||
request,
|
request,
|
||||||
'feed_settings.html',
|
'feed_settings.html',
|
||||||
|
|
Loading…
Reference in a new issue