mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-08 12:56:27 +08:00
Fix fetching available repository rows [SCI-6601] (#3920)
This commit is contained in:
parent
8d096df826
commit
732977b80d
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ class RepositoryRowsController < ApplicationController
|
||||||
render json: { no_items: no_items_string },
|
render json: { no_items: no_items_string },
|
||||||
status: :ok
|
status: :ok
|
||||||
else
|
else
|
||||||
render json: { results: load_available_rows(search_params[:q]) },
|
render json: { results: load_available_rows },
|
||||||
status: :ok
|
status: :ok
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue