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

prevent future posts from showing in pins #169

Merged
merged 4 commits into from Sep 10, 2019
Merged

prevent future posts from showing in pins #169

merged 4 commits into from Sep 10, 2019

Conversation

@robjloranger
Copy link
Member

robjloranger commented Aug 12, 2019

this changes GetPinnedPosts to accept an includeFutre bool, which
returns future dated pinned posts when true.


  • I have signed the CLA

closes #158

this changes GetPinnedPosts to accept an includeFutre bool, which
returns future dated pinned posts when true.
collections.go Outdated Show resolved Hide resolved
database.go Outdated Show resolved Hide resolved
@robjloranger

This comment has been minimized.

Copy link
Member Author

robjloranger commented Aug 12, 2019

concerns addressed

@thebaer thebaer added this to the 0.11 milestone Sep 4, 2019
With the var there now, this makes the code a bit more readable.
@thebaer

This comment has been minimized.

Copy link
Member

thebaer commented Sep 10, 2019

Looks great, thanks! I just made a small change, now using the new isOwner var in the if statements. Merging now.

@thebaer thebaer merged commit 9256293 into develop Sep 10, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@thebaer thebaer deleted the future-pins branch Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.