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:
parent
ea3ba4f33a
commit
b3c48d13e7
6 changed files with 30 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue