Fix fetching available repository rows [SCI-6601] (#3920)

This commit is contained in:
artoscinote 2022-03-07 17:12:41 +01:00 committed by GitHub
parent 8d096df826
commit 732977b80d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ class RepositoryRowsController < ApplicationController
render json: { no_items: no_items_string },
status: :ok
else
render json: { results: load_available_rows(search_params[:q]) },
render json: { results: load_available_rows },
status: :ok
end
end