We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef49268 commit 764164cCopy full SHA for 764164c
app/controllers/transactions_controller.rb
@@ -110,7 +110,7 @@ def update
110
111
private
112
def per_page
113
- params[:per_page].to_i.positive? ? params[:per_page].to_i : 50
+ params[:per_page].to_i.positive? ? params[:per_page].to_i : 20
114
end
115
116
def needs_rule_notification?(transaction)
@@ -154,10 +154,6 @@ def search_params
154
155
cleaned_params.delete(:amount_operator) unless cleaned_params[:amount].present?
156
157
- # Only add default start_date if params are blank AND filters weren't explicitly cleared
158
- if cleaned_params.blank? && params[:filter_cleared].blank?
159
- cleaned_params[:start_date] = 30.days.ago.to_date
160
- end
161
162
cleaned_params
163
0 commit comments