How to monkeypatch Issue model in Redmine from a plugin, specifically redmine_task_board
Posted
by armmer
on Stack Overflow
See other posts from Stack Overflow
or by armmer
Published on 2010-04-29T14:45:43Z
Indexed on
2010/04/29
15:27 UTC
Read the original article
Hit count: 385
I'm trying to add a custom sort method to the Issue.rb model in Redmine from the redmine_task_board plugin. My commit on github
I don't know if this is a lack of knowledge about Rails plugins on my part or something specific I have to do with Redmine.
Redmine 0.8.6.stable
I want this method so that when I show the Task Board show method from tasks_board_controller I can sort the tickets in each column by Issue.priority.position.
Thank you for any help.
© Stack Overflow or respective owner