Skip to content

Commit 82df090

Browse files
increase learning path listing limit to 100 (#1692)
This is a temporary remediation for staff-facing UI. The corresponding issue for public-facing userlist UI is being tracked via mitodl/hq#5776
1 parent ef94e38 commit 82df090

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontends/mit-learn/src/pages/LearningPathListingPage/LearningPathListingPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const setup = ({
2424
} = {}) => {
2525
const paths = factories.learningResources.learningPaths({ count: listsCount })
2626

27-
setMockResponse.get(urls.learningPaths.list(), paths)
27+
setMockResponse.get(urls.learningPaths.list({ limit: 100 }), paths)
2828

2929
const { location } = renderWithProviders(<LearningPathListingPage />, {
3030
user,

frontends/mit-learn/src/pages/LearningPathListingPage/LearningPathListingPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const EditListMenu: React.FC<{ resource: LearningPathResource }> = ({
7070
}
7171

7272
const LearningPathListingPage: React.FC = () => {
73-
const listingQuery = useLearningPathsList()
73+
const listingQuery = useLearningPathsList({ limit: 100 })
7474
const { data: user } = useUserMe()
7575

7676
const handleCreate = useCallback(() => {

0 commit comments

Comments
 (0)