mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-11 14:45:59 +08:00
Merge pull request #7491 from wandji20/wb-SCI-10640
Remove limit from inventory column dropdown list items query [SCI-10640]
This commit is contained in:
commit
b05406bf03
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…
Add table
Reference in a new issue