stadust / pointercrate

Rewrite of the https://pointercrate.com backend in Rust
MIT License
80 stars 52 forks source link

Better support for reordering records #154

Open stadust opened 3 months ago

stadust commented 3 months ago

Add a date column to the records table, and have the records table displayed on the demon pages be sorted by this column. For existing records, it should be initialized from the record_addition audit log entries, for new records it should be set to the time of submission. List Helpers should be able to modify the time stamp freely via PATCH /records/[id]/.

The API endpoints should continue sorting everything by ID