View Issue Details

IDProjectCategoryView StatusLast Update
0035235mantisbtbugtrackerpublic2025-02-04 14:56
Reporterdregad Assigned Todregad  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionwon't fix 
Summary0035235: Unnecessary project prefix when listing issues without category
Description

In projects with allow_no_category = ON, an Issue's category can be 0 (= no category), which by definition does not belong to any project so it does not make sense to prefix it with the project name when listing All Projects in View issues page (see screenshot).

TagsNo tags attached.
Attached Files
image.png (37,908 bytes)   
image.png (37,908 bytes)   

Activities

dregad

dregad

2025-01-13 12:20

developer   ~0069680

PR https://github.com/mantisbt/mantisbt/pull/2072

atrol

atrol

2025-01-17 19:10

developer   ~0069707

Last edited: 2025-01-17 19:25

@dregad the project name in the list is not the name of the project assigned to the category, but the project name of the issue.
It's also a link to sort by project without havig the need to add the project_id column.
After your change, this is no longer possible for issues without category.
Isn't "No Category" similar to the global "General" category in this context?
Revert?

atrol

atrol

2025-01-21 12:38

developer   ~0069736

@dregad would like to be sure you are aware of this. (had a typo in your username when creating the note, and we don't resend after editing)

dregad

dregad

2025-01-22 13:42

developer   ~0069741

Thanks for the reminder, indeed I missed it. I don't have time to look at it now, I'll get back to you.

dregad

dregad

2025-01-23 07:34

developer   ~0069746

@atrol I see what you mean now.

Even though it's a bit strange and somewhat confusing to include the Issue's Project in the Category column, it does makes sense from a UX perspective as the Project is only needed when displaying Al Projects.

So I reverted the commit, and will close this as won't fix.

Related Changesets

MantisBT: master 74fb0ee6

2024-10-22 12:35

dregad


Details Diff
Do not display project name when category is not set

In projects with allow_no_category = ON, an Issue's category can be 0
(= no category), which by definition does not belong to any project so
it does not make sense to prefix it with the project name in View issues
page.

Fixes 0035235
Affected Issues
0035235
mod - core/columns_api.php Diff File

MantisBT: master 7626b727

2025-01-23 07:29

dregad


Details Diff
Revert "Do not display project name when category is not set"

This reverts commit 74fb0ee692c2b18946cff6bd29c54c5ba39bc6b4.
Affected Issues
0035235
mod - core/columns_api.php Diff File