Skip to content

Commit

Permalink
Update home_controller.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Aug 24, 2023
1 parent cde803e commit 91ddbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def show
@cases = @current_user.cases.not_archived
.left_outer_joins(:metadata)
.order(Arel.sql('`case_metadata`.`last_viewed_at` DESC, `cases`.`updated_at` DESC'))
.distinct
.uniq

# copied from dropdown_contoller.rb
@most_recent_cases = lookup_most_recent_cases
Expand Down

0 comments on commit 91ddbb0

Please sign in to comment.