I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Patch #2181

Support for redmine 2.3

Added by Massimo Rossello almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
12 Apr 2013
Due date:
% Done:

100%

Redmine version:
2.3.x
External issue:

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

Related to Extended Fields - Bug #2182: internal error opening custom fields Closed 13 Apr 2013

Associated revisions

Revision 91 (diff)
Added by Andriy Lesyuk over 10 years ago

Fixed #2187, #2182, #2181, #2153 and bumped to 0.2.2

History

#1 Updated by Bruno Spyckerelle almost 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 almost 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 almost 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 10 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 10 years ago

  • % Done changed from 0 to 100

#7 Updated by Andriy Lesyuk over 10 years ago

  • Status changed from Under Verification to Closed

Applied in changeset r91.

Also available in: Atom PDF

Terms of use | Privacy policy