Add tag filtering (#1240)

This commit is contained in:
Zach Gollwitzer
2024-10-04 09:17:48 -04:00
committed by GitHub
parent 73d61fc990
commit e8d7ee3270
5 changed files with 40 additions and 6 deletions

View File

@@ -94,7 +94,7 @@ class TransactionsController < ApplicationController
def search_params
params.fetch(:q, {})
.permit(:start_date, :end_date, :search, :amount, :amount_operator, accounts: [], account_ids: [], categories: [], merchants: [], types: [])
.permit(:start_date, :end_date, :search, :amount, :amount_operator, accounts: [], account_ids: [], categories: [], merchants: [], types: [], tags: [])
end
def transaction_entry_params