Patch #2181
Support for redmine 2.3
100%
Description
Here is the only patch I applied to make the plugin work with 2.3-stable branch of redmine
diff --git a/app/views/custom_fields/_extended.html.erb b/app/views/cust
index 0294de7..364cf73 100644
--- a/app/views/custom_fields/_extended.html.erb
+++ b/app/views/custom_fields/_extended.html.erb
@@ -1,4 +1,4 @@
-<% projects = Project.all_public.active(:order => 'name').collect{ |project| [ project.name, project.id ] } %>
+<% projects = Project.all_public.active.order("name").collect{ |project| [ project.name, project.id ] } %>
<% unless defined? observe_field %>
Related issues
History
#1 Updated by Bruno Spyckerelle over 11 years ago
I can confirm that the plugin is working like a charm with this patch with redmine 2.3.1 !
Thanks !
#2 Updated by Bruno Spyckerelle over 11 years ago
I was a bit too fast, there’s a small bug with 2.3, see #2187 and the patch I provided.
#3 Updated by Andriy Lesyuk over 11 years ago
- Status changed from New to Under Verification
- Assignee set to Andriy Lesyuk
- Target version set to 0.2.2
Thank you very much!
#5 Updated by Andriy Lesyuk over 11 years ago
Could not find if order("name")
is supported by Rails < 3, so using order_by(&:name)
instead.
#6 Updated by Andriy Lesyuk over 11 years ago
- % Done changed from 0 to 100
#7 Updated by Andriy Lesyuk over 11 years ago
- Status changed from Under Verification to Closed
Applied in changeset r91.