My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 45 attachment: subnav_disappear.patch (773 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/controllers/store_controller.rb
===================================================================
--- /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/controllers/store_controller.rb (revision 43)
+++ /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/controllers/store_controller.rb (working copy)
@@ -75,7 +75,7 @@
tag_ids_array << temp_tag.id
end
end
- @viewing_tags = Tag.find(tag_ids_array)
+ @viewing_tags = Tag.find(tag_ids_array, :order => "parent_id ASC")
viewing_tag_names = @viewing_tags.collect { |t| " > #{t.name}"}
@title = "Store #{viewing_tag_names}"
@tags = Tag.find_related_tags(tag_ids_array)

Powered by Google Project Hosting