Enroll a student to a course manually (will generate an enrollment trigger like admin_{admin_id})
Unenroll the student
Now enroll the student with a different trigger, e.g. a different admin, or if the course is an "auto-enroll" corse of a membership, enroll the student to the membership, so that the new trigger will be like membership_{membership_id}
Retrieve the enrollment via rest-api
Expected Behavior
I would expect that the retrieved enrollment's trigger reads membership_{membership_id} (the latest enrollment trigger)
Actual Behavior
The retrieved enrollment's trigger reads admin_{admin_id} (the first enrollment trigger)
Error Messages / Logs
n/a
System Information
LifterLMS 4.11.0
LifterLMS Rest Api v1.0.0-beta.17
Reproduction Steps
Expected Behavior
Actual Behavior
Error Messages / Logs
System Information
LifterLMS 4.11.0 LifterLMS Rest Api v1.0.0-beta.17
Browser, Device, and Operating System Information
n/a