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

Need a more effective way of filtering a users posts #1

Open
aaroncox opened this issue Nov 20, 2016 · 0 comments
Open

Need a more effective way of filtering a users posts #1

aaroncox opened this issue Nov 20, 2016 · 0 comments

Comments

@aaroncox
Copy link
Owner

Right now the current method is loading 100 posts from the user directly and then filtering.

This causes two problems:

  1. Slower loading times since it's an ineffective way of doing this.
  2. When a user has more than 100 posts, this will cause posts beyond 100 to not display if none in the first 100 match.

There may be a more effective path through using get_state on a user, and potentially having the ability to pass filter/pagination parameters along with it to use the blockchains native indexes.

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

No branches or pull requests

1 participant