1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Filter transactions by category (#581)

* Add transaction filtering by category

* Link label to checkbox

* Keep the dropdown open when clicked to allow tab change

* Show the badge with color and name when filter is applied

* Reduce color height
This commit is contained in:
Thibaut Gorioux 2024-04-02 18:17:26 +02:00 committed by GitHub
parent ea3ba4f33a
commit b3c48d13e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 30 additions and 7 deletions

View file

@ -18,7 +18,7 @@ class Transaction::Category < ApplicationRecord
]
def self.ransackable_attributes(auth_object = nil)
%w[name]
%w[name id]
end
def self.ransackable_associations(auth_object = nil)