[x] Add an afternull filter, similar to after but also returns episodes with a null published_released_at
[x] Allow sorting auth-stories by released_at, but always returning nulls first (similar to the auth-stories published_at sort).
[x] Add a state=unpublished filter value, which allows eitherpublished_at > now() or published_at = nullNOTE: this required some changes to how the ?state filter was applied to elasticsearch. Instead of using/abusing the FieldedSearchQuery class, this sets up ES filters directly through the StoryQueryBuilder.
For #526
afternull
filter, similar toafter
but also returns episodes with a null published_released_atreleased_at
, but always returning nulls first (similar to the auth-storiespublished_at
sort).state=unpublished
filter value, which allows eitherpublished_at > now()
orpublished_at = null
NOTE: this required some changes to how the ?state filter was applied to elasticsearch. Instead of using/abusing theFieldedSearchQuery
class, this sets up ES filters directly through theStoryQueryBuilder
.