プロジェクト

全般

プロフィール

Vote #80281

未完了

An empty group_count badge is displayed when grouped with created_on

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

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

0%

予定工数:
category_id:
10
version_id:
0
issue_org_id:
31972
author_id:
259873
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Reproduction procedure

When the above conditions are met, the group_count badge will be displayed as empty as shown in the screenshot.
!{width: 500px; border: 1px solid #ccc}ScreenShot-2019-08-29-10.49.27.png!

It doesn't matter if group_count is nil because MySQL doesn't get group_count if it doesn't load time zone data.
The problem is that an empty badge is displayed at that time.

Badge should also be hidden if group_count is not successfully acquired(like "timelog":http://www.redmine.org/projects/redmine/repository/entry/trunk/app/views/timelog/_list.html.erb#L25).

This is a problem with trunk.


journals

I forgot to attach the patch.
Change the same as "timelog":http://www.redmine.org/projects/redmine/repository/entry/trunk/app/views/timelog/_list.html.erb#L25 .
--------------------------------------------------------------------------------

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

いいね!0
いいね!0