Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse order when clicking badge #82

Closed
pielat opened this issue Mar 29, 2018 · 3 comments
Closed

Reverse order when clicking badge #82

pielat opened this issue Mar 29, 2018 · 3 comments
Assignees
Milestone

Comments

@pielat
Copy link

pielat commented Mar 29, 2018

Hello,
Currently when I click on badge I see 5 very old tasks in my Redmine. I think it will be more useful when I would see 5 newest tasks. It would be more like Facebook notifications :)
Do you think it's good idea to implement this?

@nguyenquangvinh
Copy link

nguyenquangvinh commented Oct 27, 2018

Yes, it is. I already made some small modifies at line 37 of file app/controllers/issue_badge_controller.rb. Changed to this:
Issue.visible.open.where(assigned_to_id: condition).order(updated_on: :desc)

So, the list now shows in order of newest issues first. Hope it help

@akiko-pusu
Copy link
Owner

@pielat @nguyenquangvinh
Thanks for using my plugin and feedback. It's acceptable so try to implement this :)

@akiko-pusu
Copy link
Owner

@pielat @nguyenquangvinh
Thanks for your feedback.
I've just released v0.0.7 included this feature.
If you still use Redmine 3.x, please try v0.0.7.
If you already migrated Redmine to Redmine4.x, v0.0.7 will be failed at the lugin migration task.
I'm going to release next version to support Redmine4.x soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants