More search fixes...
This commit is contained in:
parent
cd72ee9a66
commit
67224fe828
1 changed files with 1 additions and 2 deletions
|
@ -99,8 +99,7 @@ class SearchController < ApplicationController
|
|||
# Fetch any nodes needed for our segments (only have matching nodes so far)
|
||||
node_ids = Array.new
|
||||
segments.each do |seg|
|
||||
node_ids += seg.node_a
|
||||
node_ids += seg.node_b
|
||||
node_ids += [seg.node_a, seg.node_b]
|
||||
end
|
||||
nodes += Node.find(node_ids)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue