Add Milestone tag select filter on executions public page

This commit is contained in:
lalo
2019-04-03 09:51:13 +02:00
parent 63e0cd02d0
commit be8a0dbe8a
28 changed files with 180 additions and 38 deletions

View File

@@ -195,6 +195,10 @@ class Budget < ApplicationRecord
investments.winners.any?
end
def milestone_tags
investments.winners.map(&:milestone_tag_list).flatten.uniq.sort
end
private
def sanitize_descriptions