Skip to content

Rename deptFilters to subjFilters in course search endpoint - #18

Merged
jzgom067 merged 1 commit into
main-previewfrom
rename-deptfilters-query-param
Nov 18, 2025
Merged

Rename deptFilters to subjFilters in course search endpoint#18
jzgom067 merged 1 commit into
main-previewfrom
rename-deptfilters-query-param

Conversation

@ramonechen

@ramonechen ramonechen commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

What?

Renames the deptFilters query parameter in the /course/search endpoint to subjFilters.

Closes #15.

Why?

In our last change to the API, the "departments" filter value in another endpoint was renamed to "subjects". This change keeps naming consistent across the API. On top of that, subjects are different from departments as far as SIS is concerned.

How?

I changed two lines.

Testing?

It works through Postman.

Anything Else?

Please, I just changed two lines.

@ramonechen ramonechen added the API Related to the API label Nov 18, 2025
@jzgom067
jzgom067 merged commit 965bf96 into main-preview Nov 18, 2025
6 checks passed
@jzgom067
jzgom067 deleted the rename-deptfilters-query-param branch November 18, 2025 22:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR renames the deptFilters query parameter to subjFilters in the /course/search endpoint to align with a previous API change where "departments" were renamed to "subjects" and to better reflect the distinction between subjects and departments in the Student Information System.

Key Changes:

  • Updated the query parameter name from deptFilters to subjFilters in the function signature
  • Updated the reference to the parameter when splitting it into a list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Related to the API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants