プロジェクト

全般

プロフィール

Vote #74755

完了

Watched issues count on "My page" is shown for all issues instead of only open ones

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
My page_42
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
42
version_id:
110
issue_org_id:
15777
author_id:
82945
assigned_to_id:
1
comments:
9
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
74
ステータス-->[Closed]

説明

On "My page" I have a "Watched issues" widget.
It shows the issues count in parentheses, and currently it shows 13 there. However, in the list itself there are only 9 issues.
I figured out that 13 is the total number of all watched issues, including closed ones.
The expected behavior is: watched issues counter should show only the number of open issues.

Environment:
  Redmine version                2.3.4.stable.12471
  Ruby version                   1.8.7-p174 (2009-06-12) [i686-linux]
  Rails version                  3.2.13
  Environment                    production
  Database adapter               Mysql2
Redmine plugins:
  extended_fields                0.2.2
  redmine_my_page_queries        2.0.8
  redmine_tags                   2.0.1-dev
  redmine_time_tracker           0.5
  stuff_to_do_plugin             0.4.1

journals

Yes, there is an inconsistency in the issue status. While we see all watched issues in _MyPage_ The link reffers to open issues only.
Please apply the attached patch that display open watched issues only in _My page_.
--------------------------------------------------------------------------------
Same bug as reported in #8948, I think.
--------------------------------------------------------------------------------
I agree to change the behavior. I rarely want to see closed issues.
Here is an updated the patch for the current trunk.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Thanks.
--------------------------------------------------------------------------------
Both widgets "Watched issues" and "Issues assigned to me" show only open issues. "Reported issues" shows issues with any status. I am pretty sure this is a defect. See #23472.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,23472,Show open issues only in "Reported Issues" on My page
duplicates,Closed,8948,Watched issues which are already closed are still displayed in My Page
duplicates,Closed,7687,Incorrect search in my page

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0