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

Import UI not showing all organizations #3251

Closed
jaraco opened this issue Nov 13, 2017 · 4 comments
Closed

Import UI not showing all organizations #3251

jaraco opened this issue Nov 13, 2017 · 4 comments
Assignees
Labels
Bug A bug
Milestone

Comments

@jaraco
Copy link
Contributor

jaraco commented Nov 13, 2017

I suspect I recently went over 10 organizations in my GitHub account. Now when I see my list of organizations, I'm missing an organization for which I'm an owner (/yougov):

image

I suspect there's either some pagination going on with the organizations or there's a hard-coded limit of 10. In either case, I seem to be unable to filter by that organization.

@RichardLitt RichardLitt added the Support Support question label Nov 13, 2017
@agjohnson agjohnson added Bug A bug and removed Support Support question labels Nov 13, 2017
@agjohnson
Copy link
Contributor

This sounds like you might be right, this is likely a bug.

@agjohnson agjohnson added this to the Admin UX milestone Nov 16, 2017
@humitos humitos self-assigned this Dec 18, 2017
@humitos
Copy link
Member

humitos commented Dec 20, 2017

@humitos
Copy link
Member

humitos commented Jan 27, 2018

I just found the problem here and it's because we are using a default LimitOffsetPagination as a global setting. Besides, in the involved endpoints we are overriding the paginated_by settings but those are deprecated and since DRF 3.1 it's needed to use a pagination_class.

So, I opened a PR for that at #3559. Please review it and let me know.

@safwanrahman
Copy link
Member

@humitos I think there should be a button in the UI for going next
Moroever, if you send page_size parameter while getting the projects, you can control the size from the frontend.

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

No branches or pull requests

5 participants