Skip to content

Commit

Permalink
fixes default sort-by that was broken after the no-label issues and l…
Browse files Browse the repository at this point in the history
…abel filtering branches were merged. #235
  • Loading branch information
finnhodgkin committed Sep 19, 2017
1 parent a166974 commit dd314b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/controllers/page_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ defmodule Tudo.PageController do
params["rummage"]
)

initial_rummage = IssueSorting.default_sort_by(initial_rummage)

{issues, rummage} =
IssueSorting.collect_issues(search_params, initial_rummage)

rummage = IssueSorting.default_sort_by(rummage)

render conn,
"index.html",
issues: issues,
Expand Down

0 comments on commit dd314b1

Please sign in to comment.