fix user:owns id ambiguity
This commit is contained in:
parent
d335c2e677
commit
ec9e997ac5
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ class Item < ActiveRecord::Base
|
|||
"any items yet. Head to Your Items to add some!"
|
||||
end
|
||||
|
||||
"id IN (#{item_ids.join(',')})"
|
||||
arel_table[:id].in(item_ids)
|
||||
end
|
||||
|
||||
search_filter :only do |species_name|
|
||||
|
|
Loading…
Reference in a new issue