From 76630bbf739045635bb1e1750ed523dc3a41ad92 Mon Sep 17 00:00:00 2001 From: evazion Date: Thu, 30 Jan 2020 23:01:02 -0600 Subject: [PATCH] dmails: remove search[read] param. --- app/models/dmail.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/models/dmail.rb b/app/models/dmail.rb index 792ea43f2..8c19b8fa4 100644 --- a/app/models/dmail.rb +++ b/app/models/dmail.rb @@ -144,9 +144,6 @@ class Dmail < ApplicationRecord q = q.folder_matches(params[:folder]) - q = q.read if params[:read].to_s.truthy? - q = q.unread if params[:read].to_s.falsy? - q.apply_default_order(params) end end