[openstreetmap/openstreetmap-website] Report deactivates_at as block read date (PR #5478)
Anton Khorev
notifications at github.com
Tue Jan 7 10:23:51 UTC 2025
I changed `updated_at` to `deactivates_at` in #5476 and forgot to make the same change on the next line. This can cause block update dates to be reported as block read dates. Those dates are different for blocks that were edited by moderators after they were read. The reason text can still be updated for such blocks.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5478
-- Commit Summary --
* Report deactivates_at as block read date
-- File Changes --
M app/helpers/user_blocks_helper.rb (2)
M test/helpers/user_blocks_helper_test.rb (11)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5478.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5478.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5478
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5478 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250107/301adb89/attachment.htm>
More information about the rails-dev
mailing list