A date range field and filter for SilverStripe
A date range field for SilverStripe. Based heavily on dnadesign/silverstripe-datedropdownselectorfield but using SilverStripe's DateField.
Our primary use case for this module was for use in a ModelAdmin within the CMS - it hasn't been tested anywhere else so use with care.
composer require 'deptinternalaffairsnz/silverstripe-date-range-field' '1.0.0'
searchable_fields for a
DataObject you can make use of the
DateRangeFilter like so:
private static $searchable_fields = array( 'Created' => array( 'title' => 'created date', 'field' => 'DeptInternalAffairsNZ\SilverStripe\DateRangeField', 'filter' => 'DeptInternalAffairsNZ\SilverStripe\DateRangeFilter' ) );
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem