Skip to content

Add working pagination to proj#66

Open
jay-bis wants to merge 1 commit intobillimarie:mainfrom
jay-bis:add-pagination
Open

Add working pagination to proj#66
jay-bis wants to merge 1 commit intobillimarie:mainfrom
jay-bis:add-pagination

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.

2 participants