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

Allow setting starting page as 0. #94

Merged
merged 1 commit into from
Sep 29, 2015
Merged

Allow setting starting page as 0. #94

merged 1 commit into from
Sep 29, 2015

Conversation

wuron
Copy link
Contributor

@wuron wuron commented Sep 29, 2015

No description provided.

@kellyselden
Copy link
Collaborator

I'm on board with this change, but you would want a test so it doesn't regress.

@wuron
Copy link
Contributor Author

wuron commented Sep 29, 2015

Added the test.

@kellyselden
Copy link
Collaborator

LGTM. We would need you to squash commits, then it can be merged.

@wuron
Copy link
Contributor Author

wuron commented Sep 29, 2015

Updated.

kellyselden pushed a commit that referenced this pull request Sep 29, 2015
Allow setting starting page as 0.
@kellyselden kellyselden merged commit 7ce5135 into adopted-ember-addons:master Sep 29, 2015
@kellyselden
Copy link
Collaborator

Thanks!

@hhff
Copy link
Collaborator

hhff commented Sep 29, 2015

TY!!

@hhff
Copy link
Collaborator

hhff commented Sep 29, 2015

@wuron - could you do a quick PR documenting this in the README?

@wuron
Copy link
Contributor Author

wuron commented Sep 29, 2015

I'm not sure what to document here. Basically it's just a bugfix cause 0 was treated as falsy value so startingPage set to 0 was overriden with 1.

@hhff
Copy link
Collaborator

hhff commented Sep 29, 2015

@wuron oh right sorry just skimmed it! as you were

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants