プロジェクト

全般

プロフィール

Vote #73662

完了

"Clear" button in Spent Time Report tab also clears global filters

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

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

0%

予定工数:
category_id:
13
version_id:
123
issue_org_id:
13622
author_id:
1117
assigned_to_id:
1
comments:
13
status_id:
5
tracker_id:
1
plus1:
2
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Steps to reproduce:

  1. Go to Projects -> Overall spent time -> Report.
  2. Add some filters or just choose "Date is today".
  3. Click Clear in Details area.

Expected result:
Only report itself is cleared.

Actual result:
Filters are cleared too. Look at the following screencast: http://screencast.com/t/VCs06HqDfP


journals

I don't get it:

* details and filters are supposed to be synced, what would mean clearing the details only??
* it works in time tracking report the same way it works in issue list
* the ??Clear?? link is not located within the Details tab
--------------------------------------------------------------------------------
Please, look here: http://screencast.com/t/Bz2eAFz0x I call the area on the top as "Filters area". And area on the bottom as "Details area".

I think, workflow of the page is next:
1. User configurates Filters. He can choose any filters he want.
2. User selects "Details" combobox (Month, Year, Week, etc.). And the user Adds any thing he wants to see spent time by.

After that he can change his choice and to choose another period, for example, month. Or choose another granilarity (for example, by issues, not by tracker). And it mustn't change filters above. But now user can't just change the granularity and choose another breakdown - when he clicks Clear, it also clears all filters. So he has to select the filters again.
--------------------------------------------------------------------------------
Please, also look at the video I provided in description of the ticket.
--------------------------------------------------------------------------------
I can't watch your video right now but I can confirm the bug, I thought you were talking about the ??Details?? tab but you were actually talking about the ??Details?? filter in the ??Report?? tab.

My bad.
--------------------------------------------------------------------------------
Here's a js script that will fix this defect. Just include it into your project.
--------------------------------------------------------------------------------
+1 Please make this easy fix in Redmine as soon as possible. As it is now, it is hassle to re-enter the global filters every time I have to clear the report.
--------------------------------------------------------------------------------
Artyom Khramov wrote:
> Here's a js script that will fix this defect. Just include it into your project.

What does it mean, how to include this script to my redmine server?
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
This issue can be fixed by the patch attached on #14817#note-4.
Setting target version to 3.3.2 along with #14817.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r16057 without storing filters in session.
Thanks for pointing this out.
--------------------------------------------------------------------------------

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


related_issues

relates,Closed,14817,Redmine loses filters after deleting a spent time
duplicates,Closed,17724,Time Entries Report: Reset links behave inconsistent

Admin Redmine さんが約4年前に更新

  • カテゴリTime tracking_13 にセット
  • 対象バージョン3.3.2_123 にセット

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

いいね!0
いいね!0