Filter Searches by 'is_current' / expires_date
The civicrm_search
table has an expires_date
field. I believe it should be used as a filter on the search admin screen.
I copied the field into civicrm_user_job
when I created that and the searches based on user jobs have expires_date set from the user job.
I realised it is a bit of a pain to add to the js as it would be expires_date
is in the past OR is NULL - which got me thinking that it is most like is_current
& perhaps should be a trait like that - with is_current = TRUE as a default
@colemanw - what has me most confused is where to put it - I could add it to IsCurrentSpecProvider
& it just has different rules - maybe I'll try