[openstreetmap/openstreetmap-website] Change query limit settings format to nested mappings (PR #4189)

Anton Khorev notifications at github.com
Mon Aug 21 13:24:02 UTC 2023


The idea is
- create a superclass for things searchable by the api; currently they are changesets and notes
- it's going to have `result_limit` method
- but `result_limit` reads type-specific settings
- then also add a method to read type-specific settings, rather than read them from the global `Settings` object; this is going to be either an abstract method to be defined in subclasses or derived from `controller_name` like in #3715

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4189#issuecomment-1686324367
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4189/c1686324367 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230821/cf8b8a6f/attachment.htm>


More information about the rails-dev mailing list