]> git.openstreetmap.org Git - rails.git/commit
Switches from comments to all_comments
authorNenad Vujicic <nenadus@gmail.com>
Tue, 4 Feb 2025 15:36:58 +0000 (16:36 +0100)
committerNenad Vujicic <nenadus@gmail.com>
Thu, 6 Feb 2025 09:58:52 +0000 (10:58 +0100)
commit85bc737dee2523d0c880fc14280d2e1955cc447c
tree04123b80edf891536267ae4cb0d2d35fbb6c6791
parent361dcbb1dfd05c09034ed92da9bbf4305fcb8da9
Switches from comments to all_comments

Switches from using note's .comments to .all_comments. Fixes bug with notes of deleted users without comments, which are filtered out, but the code tries to access the first comment.
app/models/note.rb