Skip to content

feat : Update search API in learners#2496

Open
sjasti-sonata-svg wants to merge 2 commits intoopenedx:masterfrom
sjasti-sonata-svg:feat/ENT-11261-update-learner-search-API
Open

feat : Update search API in learners#2496
sjasti-sonata-svg wants to merge 2 commits intoopenedx:masterfrom
sjasti-sonata-svg:feat/ENT-11261-update-learner-search-API

Conversation

@sjasti-sonata-svg
Copy link
Copy Markdown
Contributor

feat : Updated search API in learners
Update enterprise learner search API to get only learners records.
ENT-11261.

Comment on lines +112 to +113
AND
ecu.active = 1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This seems reasonable. Is there a corresponding unit test we can update to confirm that inactive ECU records are no longer returned in the result set?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @iloveagent57 ,
test_inactive_ecu_records_not_returned() is handling this.

ecu.enterprise_customer_id = %s
AND
ecu.linked = 1
AND
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please add comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @msaha-sonata ,
Added comment.

@sjasti-sonata-svg sjasti-sonata-svg force-pushed the feat/ENT-11261-update-learner-search-API branch from 9be89e1 to 15ce979 Compare January 12, 2026 16:34
Copy link
Copy Markdown
Contributor

@msaha-sonata msaha-sonata left a comment

Choose a reason for hiding this comment

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

Looks good to me

Copy link
Copy Markdown
Contributor

@kiram15 kiram15 left a comment

Choose a reason for hiding this comment

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

This duplicate one should be closed and we should only merge #2503

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants