Feature #14462

Previous/next links may be lost after editing the issue

Added by Łukasz Mach over 4 years ago. Updated over 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Issues
Target version:3.3.0
Resolution:Fixed

Description

1. click on project,
2. click on issues,
3. get. eg. open issues,
4. review them using "prev"/"next" buttons, until found issue which should be closed (but isn't).
5. click update, set it as resolved/closed

RESULT: prev/next buttons disappears, because current issue gets out of query,

SHOULDBE: prev/next buttons should be visible and should point to issues from last running query.

Similar scenario: review list of unassigned tasks one by one and assign appropriately. Impossible using current next/prev implementation.

It works like that in Mantis, I believe that list of issue ids is stored somewhere in session, and prev/next gets data from that list.

issues_controller.diff Magnifier (2.17 KB) zhiguo Zhu, 2014-05-19 10:25

issues_controller.diff Magnifier (2.21 KB) zhiguo Zhu, 2015-05-19 13:07

prev_next_button_remember_issues_list_trunk_r15160.patch Magnifier (5.33 KB) Takenori TAKAKI, 2016-03-02 03:39


Related issues

Duplicated by Redmine - Defect #11006: next previous function not available if issue is closed Closed
Duplicated by Redmine - Defect #13053: Prev Next button was not display when the query condition... Closed

Associated revisions

Revision 15253
Added by Jean-Philippe Lang over 1 year ago

Previous/next links may be lost after editing the issue (#14462).

History

#1 Updated by Go MAEDA over 3 years ago

+1

#2 Updated by zhiguo Zhu over 3 years ago

+2

#3 Updated by zhiguo Zhu over 3 years ago

fix it for redmine-2.5.1

#4 Updated by Toshi MARUYAMA over 3 years ago

zhiguo Zhu wrote:

fix it for redmine-2.5.1

Please add tests.

#5 Updated by Toshi MARUYAMA over 3 years ago

  • Duplicated by Defect #11006: next previous function not available if issue is closed added

#6 Updated by Rupesh J over 2 years ago

+1

#7 Updated by zhiguo Zhu over 2 years ago

Rupesh J wrote:

+1

fix for redmine-3.0.3

#8 Updated by Go MAEDA over 2 years ago

  • Target version set to Candidate for next major release

#9 Updated by Takenori TAKAKI over 1 year ago

I do appreciate the work of Łukasz Mach and zhiguo Zhu. I would be very happy if I could see the feature in Redmine 3.3.0.

I have updated the patch:

  • Compatible with latest trunk (r15160)
  • Added tests
  • Changed a little bit, to pass the test

#10 Updated by Go MAEDA over 1 year ago

  • Target version changed from Candidate for next major release to 3.3.0

The patch updated by Takenori TAKAKI includes tests and works fine.
I think we can merge the fix into trunk. Setting target version to 3.3.0.

#11 Updated by Jean-Philippe Lang over 1 year ago

  • Subject changed from prev/next buttons - remember issues list to Previous/next links may be lost after editing the issue
  • Category changed from UI to Issues
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in r15253. I used a slightly different approach to avoiding loading the query before updating the issue, thanks.

#12 Updated by Go MAEDA 10 months ago

  • Duplicated by Defect #13053: Prev Next button was not display when the query condition was changed added

Also available in: Atom PDF