Save only the timestamp field when updating ReviewRequestVisited.

Review Request #14311 — Created Jan. 29, 2025 and submitted — Latest diff uploaded

Information

Review Board
release-7.1.x

Reviewers

When viewing a review request page, we were saving out the entirety of
the ReviewRequestVisited fields, even though we were only updating the
timestamp. This change simplifies this to only save out the timestamp.

Unit tests pass.

Verified that the SQL query was no longer saving all the fields.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Save only the timestamp field when updating ReviewRequestVisited.
When viewing a review request page, we were saving out the entirety of the `ReviewRequestVisited` fields, even though we were only updating the timestamp. This change simplifies this to only save out the timestamp.
eadaa551cf3207e68251ec7b29134877fa73be11 Christian Hammond
reviewboard/reviews/views/review_request_detail.py
Loading...