openfun / joanie

👛 A headless ERP for education to manage course enrollment/subscription, payment and certificates delivery.
MIT License
20 stars 2 forks source link

🐛(backend) enrollment search by query string for backoffice django #757

Closed jonathanreveille closed 3 months ago

jonathanreveille commented 3 months ago

For the django backoffice, when we use the search bar, there was an error thrown where it cannot resolve the keyword 'organization' into the fields. The path to obtains the organization field was not set up properly in the search fields of the admin class.

Purpose

To use the search bar on the enrollment view of the django backoffice, we have to set a User first (RequiredUserFilter) and then add the string in the search bar that we want. The options available are : by username, by email, by course title and finally by organization.

Proposal

jbpenrath commented 3 months ago

You should add an entry in the CHANGELOG.