mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-09 21:36:44 +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)
|
search_value)
|
||||||
.pluck(:id)
|
.pluck(:id)
|
||||||
.uniq
|
.uniq
|
||||||
repository_rows = RepositoryRow.where(id: repository_row_ids)
|
repository_rows = RepositoryRow.left_outer_joins(:created_by)
|
||||||
|
.where(id: repository_row_ids)
|
||||||
end
|
end
|
||||||
|
|
||||||
repository_rows
|
repository_rows
|
||||||
|
|
Loading…
Add table
Reference in a new issue