Updated search result limit

Removed search from client side, increased from 20 to 100 in search_controller.rb
This commit is contained in:
mgabdev 2020-01-14 18:12:04 -05:00
parent f40ff36f1b
commit 76981e56c5
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
class Api::V1::SearchController < Api::BaseController class Api::V1::SearchController < Api::BaseController
RESULTS_LIMIT = 20 RESULTS_LIMIT = 100
respond_to :json respond_to :json

View File

@ -37,7 +37,6 @@ export function submitSearch() {
params: { params: {
q: value, q: value,
resolve: true, resolve: true,
limit: 5,
}, },
}).then(response => { }).then(response => {
if (response.data.accounts) { if (response.data.accounts) {