Browse Source

Add "last 7 days" to time period dropdown

merge-requests/68/head
Chad Birch 6 years ago
parent
commit
5f37bf2c9f
  1. 2
      tildes/tildes/views/topic.py

2
tildes/tildes/views/topic.py

@ -157,7 +157,7 @@ def get_group_topics(
topics = query.get_page(per_page) topics = query.get_page(per_page)
period_options = [SimpleHoursPeriod(hours) for hours in (1, 12, 24, 72)]
period_options = [SimpleHoursPeriod(hours) for hours in (1, 12, 24, 72, 168)]
# add the current period to the bottom of the dropdown if it's not one of the # add the current period to the bottom of the dropdown if it's not one of the
# "standard" ones # "standard" ones

Loading…
Cancel
Save