|
From: | noreply |
Subject: | [myexperiment-hackers] [1944] trunk/app/controllers/tags_controller.rb: Bug-fix: multiple taggings on an item would cause it to appear multiple times in the search results , when browsing by tags. |
Date: | Tue, 11 Nov 2008 12:34:56 -0500 (EST) |
Bug-fix: multiple taggings on an item would cause it to appear multiple times in the search results, when browsing by tags.
--- trunk/app/controllers/tags_controller.rb 2008-11-11 16:26:10 UTC (rev 1943)
+++ trunk/app/controllers/tags_controller.rb 2008-11-11 17:34:55 UTC (rev 1944)
@@ -70,6 +70,8 @@
@tagged_with << t.taggable
end
end
+
+ @tagged_with = @tagged_with.uniq
else
error("Tag not found", "is invalid")
end
[Prev in Thread] | Current Thread | [Next in Thread] |