Add chip filters for the new time window filters
rename close => closure to ease interpretation by the LLM
This commit is contained in:
@@ -17,7 +17,7 @@ module Filter::Fields
|
||||
|
||||
included do
|
||||
store_accessor :fields, :assignment_status, :indexed_by, :terms,
|
||||
:engagement_status, :card_ids, :creation, :close
|
||||
:engagement_status, :card_ids, :creation, :closure
|
||||
|
||||
def assignment_status
|
||||
super.to_s.inquiry
|
||||
@@ -35,8 +35,8 @@ module Filter::Fields
|
||||
TimeWindowParser.parse(creation)
|
||||
end
|
||||
|
||||
def close_window
|
||||
TimeWindowParser.parse(close)
|
||||
def closure_window
|
||||
TimeWindowParser.parse(closure)
|
||||
end
|
||||
|
||||
def terms
|
||||
|
||||
@@ -41,7 +41,7 @@ module Filter::Params
|
||||
params[:indexed_by] = indexed_by
|
||||
params[:engagement_status] = engagement_status
|
||||
params[:creation] = creation
|
||||
params[:close] = close
|
||||
params[:closure] = closure
|
||||
params[:assignment_status] = assignment_status
|
||||
params[:terms] = terms
|
||||
params[:tag_ids] = tags.ids
|
||||
|
||||
Reference in New Issue
Block a user