Skip to content

Conversation

jkachel
Copy link
Contributor

@jkachel jkachel commented Sep 5, 2025

What are the relevant tickets?

Closes mitodl/hq#8312

Description (What does it do?)

Sets the page size to 30 in the query that we use to grab a program's courses on the organization dashboard.

The default is 10 - we have a program that has 14 in it, so we weren't getting everything.

How can this be tested?

Create a program with > 10 courses in it, then add it to a contract. Add your test user to the same contract. Then, view the appropriate org dashboard. You should see all the courses (unless you put more than 30 in it).

Additional Context

If we end up having a bunch of programs with lots of courses in them, we should do something more refined than this. But this will work for now.

Default is 10 but we have a program that has 14.
@jkachel jkachel marked this pull request as ready for review September 5, 2025 20:22
@jkachel jkachel added the Needs Review An open Pull Request that is ready for review label Sep 5, 2025
@jkachel jkachel merged commit 084e253 into main Sep 8, 2025
13 checks passed
@jkachel jkachel deleted the jkachel/8312-page-size branch September 8, 2025 16:01
@odlbot odlbot mentioned this pull request Sep 10, 2025
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review An open Pull Request that is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants