Sunnysideup\Ecommerce\Search\Filters\OrderFiltersAroundDateFilter
Allows you to filter orders that are within three days of a specific date.
Synopsis
class OrderFiltersAroundDateFilter
extends ExactMatchFilter
{
- // members
- protected integer $additionalDaysPerMonth = 1;
- // methods
- public void apply()
Hierarchy
Extends
- SilverStripe\ORM\Filters\ExactMatchFilter
Members
protected
- $additionalDaysPerMonth
—
float
Additional days to add each month to make the filter for fuzzy as you go further back in time.
Methods
public
- apply() — @return DataQuery