diff --git a/pgcommitfest/commitfest/templates/commitfest.html b/pgcommitfest/commitfest/templates/commitfest.html index c2e3fd7a..31d971d1 100644 --- a/pgcommitfest/commitfest/templates/commitfest.html +++ b/pgcommitfest/commitfest/templates/commitfest.html @@ -70,7 +70,6 @@

{{p.is_open|yesno:"Active patches,Closed patches"}}

Reviewers Committer Num cfs{%if sortkey == 3%}
{%elif sortkey == -3%}
{%endif%} - Latest activity{%if sortkey == 1%}
{%elif sortkey == -1%}
{%endif%} Latest mail{%if sortkey == 2%}
{%elif sortkey == -2%}
{%endif%} {%if user.is_staff%} Select @@ -125,7 +124,6 @@

{{p.is_open|yesno:"Active patches,Closed patches"}}

{{p.reviewer_names|default:''}} {{p.committer|default:''}} {{p.num_cfs}} - {{p.modified|date:"Y-m-d"}}
{{p.modified|date:"H:i"}} {{p.lastmail|date:"Y-m-d"}}
{{p.lastmail|date:"H:i"}} {%if user.is_staff%} Author
Reviewer diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py index f5337785..d5fdf7fb 100644 --- a/pgcommitfest/commitfest/views.py +++ b/pgcommitfest/commitfest/views.py @@ -239,11 +239,7 @@ def commitfest(request, cfid): except ValueError: sortkey = 0 - if sortkey == 1: - orderby_str = "modified, created" - elif sortkey == -1: - orderby_str = "modified DESC, created DESC" - elif sortkey == 2: + if sortkey == 2: orderby_str = "lastmail, created" elif sortkey == -2: orderby_str = "lastmail DESC, created DESC"