View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032918 | mantisbt | custom fields | public | 2023-09-06 08:23 | 2023-09-22 16:23 |
Reporter | sara_claudia | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | won't fix | ||
Product Version | 2.25.2 | ||||
Summary | 0032918: Custom field empty should not be shown on view page | ||||
Description | Hello everyone, I have a question: I have this custom field called 'ACE' that is sometimes filled and sometimes not. When it's empty, I don't want it to appear on the bug view page at all. Currently, 'ACE' is displayed along with an empty line, but I would like it to be hidden when it's empty. Thank you so much. | ||||
Tags | No tags attached. | ||||
You mean not showing the line with the custom field (as shown on screenshot) in view.php at all when it's not set ? If so, this is currently not feasible, and TBH I'm not sure this is desirable, as it would make the user interface unpredictable. Anyway, you could achieve this by modifying (at your own risk) the foreach loop in bug_view_inc.php line 641, skipping the loop if the custom field value is not set, like this (not tested): |
|