mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 12:38:30 +08:00
Fix sorting by user name with search parameter in inventories [SCI-3391]
This commit is contained in:
parent
09d1946b19
commit
3c1774d330
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ class RepositoryDatatableService
|
|||
search_value)
|
||||
.pluck(:id)
|
||||
.uniq
|
||||
repository_rows = RepositoryRow.where(id: repository_row_ids)
|
||||
repository_rows = RepositoryRow.left_outer_joins(:created_by)
|
||||
.where(id: repository_row_ids)
|
||||
end
|
||||
|
||||
repository_rows
|
||||
|
|
Loading…
Reference in a new issue