Currently the MakeAPI isn't setting the updatedAt attribute when creating a new make. The offending line of code is https://github.com/mozilla/MakeAPI/blob/master/routes/make.js#L55-L60 . We'll also need to write a migration script that sets the updatedAt attribute if it doesn't exist.
Attachment #815033 - Flags: review?(jon)
Attachment #815033 - Flags: review?(jon) → review+
Commit pushed to master at https://github.com/mozilla/MakeAPI https://github.com/mozilla/MakeAPI/commit/ca3a10ac41bb06f0a2a78117c52d6a9c74d3b477 Fix Bug 925048 - set updatedAt on creation, add migration to update makes with a null updatedAt (set to createdAt)
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Attachment mime type: text/plain → text/x-github-pull-request
We needed to run a manual ES sync after running the migration script to have the updated sorting work properly.
You need to log in before you can comment on or make changes to this bug.