[openstreetmap/openstreetmap-website] Adds description and author_id methods to Note (PR #5494)
Nenad Vujicic
notifications at github.com
Tue Jan 14 17:53:23 UTC 2025
I also added using of these new Note methods (in added commits). Also, eliminated logic from `.(j)builder` / `comments partial` mentioned [here](https://github.com/openstreetmap/openstreetmap-website/pull/5485#discussion_r1912484985). I wasn't sure about new version of:
`@notes = @notes.joins(:comments).where("to_tsvector('english', note_comments.body) @@ plainto_tsquery('english', ?)", params[:q]) if params[:q]`
in `app/controllers/api/notes_controller.rb`, so I thought to wait, with rewriting this, for creating new records in database (in PR2 & PR3).
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5494#issuecomment-2590717263
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5494/c2590717263 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250114/632a8422/attachment-0001.htm>
More information about the rails-dev
mailing list