- Issue created by @jurgenhaas
- Merge request !151Issue #3478471 by jurgenhaas: Add views filter "contains partly" → (Merged) created by jurgenhaas
- 🇩🇪Germany jurgenhaas Gottmadingen
Provided MR !151 which works perfectly in our application.
- 🇨🇦Canada mandclu
Hmmm it seems like using granularity should meet this use case, no? You should be able to add a filter that says start date <= NOW (granularity of day) and end date >= NOW (granularity of day), which sounds like it would meet what you need to do. Or maybe I need more coffee to understand what you're trying to do? :-P
- 🇩🇪Germany jurgenhaas Gottmadingen
@mandclu yes, the condition with two fields does work technically, but not when you're working with exposed filters. It would require the user to input the same day twice, once for the lower boundary and once again for the upper boundary.
With the combined filters that we've built and that should be extended by this one, there will only be one exposed field and the filter internally applies that twice for the lower and upper boundary.
- 🇨🇦Canada mandclu
Got it (and I do think my second cup of coffee helped). It seems like a simple enough change.
One quibble is with the terminology. How about we call this "Overlaps" instead of "Partly contains"?
- 🇩🇪Germany jurgenhaas Gottmadingen
Great suggestion, I wasn't particularly happy with the previous one eother ;-)
-
mandclu →
committed 120741d7 on 4.2.x authored by
jurgenhaas →
Issue #3478471 by jurgenhaas, mandclu: Add views filter "contains partly...
-
mandclu →
committed 120741d7 on 4.2.x authored by
jurgenhaas →
Automatically closed - issue fixed for 2 weeks with no activity.