API Filter by date created for files #994

Merged
merged 1 commit into from Apr 28, 2014

Projects

None yet

2 participants

@tractorcow
Contributor

This PR incorporates a date filter for assets, similar to the filter used by the sitetree filter.

Since the column shown in the grid in AssetAdmin is the Created column, this is the same column the filter acts on. The SiteTree filter however acts on the LastModified column.

The behat test cases rely on an extension to behat to allow the modified date of staging files to be specified. Do not merge before silverstripe/silverstripe-behat-extension#32

ref: CWPBUG-144

@tractorcow
Contributor

The test cases above fail due to the behat extension update being missing. Merging silverstripe/silverstripe-behat-extension#32 will fix this.

@tractorcow tractorcow changed the title from API Filter by date created for files (don't merge) to API Filter by date created for files Apr 16, 2014
@tractorcow
Contributor

Since the above PR has been merged, this is good to go.

I restarted the build and it all passes now . :)

@tractorcow tractorcow added this to the 3.1.5 milestone Apr 28, 2014
@chillu chillu merged commit 9bff36c into silverstripe:3.1 Apr 28, 2014
@tractorcow
Contributor

Thanks @chillu

@tractorcow tractorcow deleted the tractorcow:pulls/3.1-asset-datefilter branch Apr 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment