mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
Remove limit from inventory column dropdown list items query [SCI-10640]
This commit is contained in:
parent
38d8e3a57e
commit
50df1e153d
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module RepositoryColumns
|
|||
column_list_items = @repository_column.repository_list_items
|
||||
.where('data ILIKE ?',
|
||||
"%#{search_params[:query]}%")
|
||||
.limit(Constants::SEARCH_LIMIT)
|
||||
.order(data: :asc)
|
||||
.select(:id, :data)
|
||||
|
||||
render json: column_list_items.map { |i| { value: i.id, label: escape_input(i.data) } }, status: :ok
|
||||
|
|
Loading…
Reference in a new issue