svivian/q2a-edit-history

Do not log ninja edits

Closed this issue · 5 comments

Don't log edits within a few minutes of each other. (Or update it with the latest revision?)

To have a time frame, e.g. 5 minutes would be great. Sometimes I edit a post 5 times to get all spelling and formatting sorted out, all those get saved.

Problem: How do you determine which is the last version - that is supposed to be saved?!

All the edits are stored with a time in the database so it's easy to find which was the last one. Actually, the latest revision is simply the one in qa_posts - the rows in qa_edit_history are all the previous revisions.

yes, of course. Then we could just overwrite the former one! good idea.

Fixed in latest revision.

Seems to work, thank you. Well done :)