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 working pagination to proj #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jay-bis
Copy link

@jay-bis jay-bis commented Dec 30, 2019

I accomplished this by using alethes' meteor-pages package, which made it fairly straightforward to get the pagination working. I had to reformat the currentProsecutors template, as well as add a few new templates in order to get everything working. I also had to change the way filtering was working, but it seems to work well!

I have the perPage attribute set to 10 right now, but that can always be changed. In the future, there would also be the ability to sort by different attributes (date appointed, alphabetical, etc.) or have the user change the perPage attribute.

@billimarie
Copy link
Owner

Hi @jay-bis, thanks for figuring this out. Is there a way you can test this with the updated repo? I tried to pull down your changes & merge them myself, but got an error which I'm assuming is due to the updated Meteor version.

@billimarie
Copy link
Owner

billimarie commented Oct 3, 2020

Hi, @jay-bis. Are you participating in Hacktoberfest this year? If so, would love to add your contribution to the repo.

@billimarie billimarie mentioned this pull request Oct 3, 2020
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.

None yet

2 participants