Description:
When applying filters on the course selection page and clicking "Apply Filter", the site displays an error page. The server logs show the following traceback:
django.core.exceptions.FieldError: Cannot resolve keyword 'status' into field. Choices are: attendances, cart_items, completed_by, course, course_id, created_at, description, enable_rollover, end_time, enrollments, id, is_rolled_over, is_virtual, latitude, location, longitude, materials, meeting_id, meeting_link, original_end_time, original_start_time, payments, price, rollover_pattern, start_time, teacher_confirmed, teaching_style, title, updated_at
Steps to Reproduce:
Go to the course selection page.
Choose a course and click "Apply Filter".
Observe the error page.
Expected Behavior:
The page should filter courses and display results without error.
Actual Behavior:
An error page is shown, and the logs indicate a FieldError due to an invalid filter on the status field.


Additional Context:
This bug prevents users from filtering courses and needs to be fixed to restore functionality.
Fix found ✅
Description:
When applying filters on the course selection page and clicking "Apply Filter", the site displays an error page. The server logs show the following traceback:
django.core.exceptions.FieldError: Cannot resolve keyword 'status' into field. Choices are: attendances, cart_items, completed_by, course, course_id, created_at, description, enable_rollover, end_time, enrollments, id, is_rolled_over, is_virtual, latitude, location, longitude, materials, meeting_id, meeting_link, original_end_time, original_start_time, payments, price, rollover_pattern, start_time, teacher_confirmed, teaching_style, title, updated_atSteps to Reproduce:
Go to the course selection page.
Choose a course and click "Apply Filter".
Observe the error page.
Expected Behavior:
The page should filter courses and display results without error.
Actual Behavior:
An error page is shown, and the logs indicate a FieldError due to an invalid filter on the status field.
Additional Context:
This bug prevents users from filtering courses and needs to be fixed to restore functionality.
Fix found ✅