Skip to content

Commit 4ec27ea

Browse files
committed
fix: Fix a few bugs that the claude changes caused.
In the backend, the docs update also changed the filter name for no reason. In the frontend, the card unarchive button wasn't sennding the correct data to the backend.
1 parent 568e7ae commit 4ec27ea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

backend/sample_plugin/settings/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _configure_openedx_filters(settings):
9696
filters_config = getattr(settings, 'OPEN_EDX_FILTERS_CONFIG', {})
9797

9898
# Filter we want to register
99-
filter_name = "org.openedx.learning.course.about.render.started.v1"
99+
filter_name = "org.openedx.learning.course_about.page.url.requested.v1"
100100
our_pipeline_step = "sample_plugin.pipeline.ChangeCourseAboutPageUrl"
101101

102102
# Check if this filter already has configuration

frontend/src/plugin.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ const CourseList = ({ courseListData }) => {
124124
if (listResponse.data.results.length > 0) {
125125
const existingRecord = listResponse.data.results[0];
126126
await client.patch(`${url}${existingRecord.id}/`, {
127+
course_id: courseId,
127128
is_archived: false,
128129
});
129130
}

0 commit comments

Comments
 (0)