Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add asc+desc parameters to some getters #249

Merged
merged 4 commits into from
Dec 19, 2016

Conversation

maxme
Copy link
Contributor

@maxme maxme commented Dec 7, 2016

Note: I wanted to add the same parameter to all getters returning a List<PostModel> in the PostStore, but I noticed local drafts always come first and I want to avoid having a orderByAscendingPublishingDateExceptForLocalDraftThatComesFirst parameter ;)

@maxme maxme added this to the 0.2 milestone Dec 7, 2016
@aforcier aforcier self-assigned this Dec 9, 2016
@aforcier
Copy link
Contributor

aforcier commented Dec 9, 2016

The instrumentation tests need to be updated to use the new param for getCommentsForSite() calls - they're currently broken.

@aforcier
Copy link
Contributor

aforcier commented Dec 9, 2016

Note: I wanted to add the same parameter to all getters returning a List in the PostStore, but I noticed local drafts always come first and I want to avoid having a orderByAscendingPublishingDateExceptForLocalDraftThatComesFirst parameter ;)

Yes that's a good point, I think it makes sense not to generalize this for now.

@maxme
Copy link
Contributor Author

maxme commented Dec 19, 2016

The instrumentation tests need to be updated to use the new param for getCommentsForSite() calls - they're currently broken.

Fixed in e110be8

@aforcier
Copy link
Contributor

:shipit:

@aforcier aforcier merged commit b499639 into develop Dec 19, 2016
@aforcier aforcier deleted the issue/add-asc+desc-parameters-to-some-getters branch December 19, 2016 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants