]> cat aescling's git repositories - mastodon.git/commit
Add env variable to control search limit
authorLady Lumb <42786600+LadyLumb@users.noreply.github.com>
Fri, 31 May 2019 08:48:11 +0000 (01:48 -0700)
committerThibG <thib@sitedethib.com>
Sat, 20 Jul 2019 14:39:48 +0000 (16:39 +0200)
commit0ed0c77266b82f313dec196d82edcc0aef5c2ae5
tree0d050f529fa861b4f57dfb16cb9cd476087ec24d
parent249b7c7c1298d2ac4da68a5806043d6424cf3ac0
Add env variable to control search limit

Changed the default search limit to allow a variable called MAX_SEARCH_RESULTS in the .env.production file to change the maximum search results limit.
app/controllers/api/v1/search_controller.rb