From cd72ee9a66a3a1810015269e378b6d1df93e9388 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 27 Jun 2007 17:45:00 +0000 Subject: [PATCH 1/1] Fix way search. --- app/controllers/search_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index 70bf23824..0a0b27ac5 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -92,7 +92,7 @@ class SearchController < ApplicationController # Fetch any segments needed for our ways (only have matching segments so far) seg_ids = Array.new ways.each do |way| - seg_ids += way.segments + seg_ids += way.segs end segments += Segment.find(seg_ids) -- 2.43.2