MantisBT

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007457mantisbtrelationshipspublic2006-09-20 10:182012-07-28 05:57
ReporterEllerbrok 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version1.1.0a1 
Target VersionFixed in Version 
Summary0007457: Show issue priotiy in relationship list
DescriptionIt would be very helpful to see the priority of each issue in the relationship list.
Tagspatch
Attached Filespng file icon pic_prio.png [^] (3,101 bytes) 2009-10-19 08:22

- Relationships
related to 0014522new I want to be able to configure the view in the Relationships window 

-  Notes
User avatar (0013420)
Ellerbrok (reporter)
2006-09-20 10:20

I added:

#add priority
$t_relationship_info_html .= $t_td. icon_get_status_icon( $t_bug->priority ) . '</td>';

in the relationship_api.php. Maybe you want to add it to the source.
User avatar (0023211)
mantistestor (reporter)
2009-10-16 05:39
edited on: 2009-10-16 10:04

can you tell where you added this line exactly?
it seems this line dont work in 1.2.0a3. i tried some codes but only the string bring only the unparsed item like "30" for prio "normal".
***
# add project name and category
$t_relationship_info_html .= $t_td;
if( $p_show_project ) {
$t_relationship_info_html .= '[' . $t_related_project_name . '] ';
}
$t_relationship_info_html .= $t_bug->priority. ' </td>';
***

User avatar (0023226)
vboctor (administrator)
2009-10-17 12:45

It is not possible to customize fields that are show in the View Issues, Print Issues, CSV, and Excel. I wonder if the right way to fix this would be to do one of the following:

1. Have the ability to customize fields to show in issue relationship.
2. Use the same fields as View Issues.

In this case we have the "relationship" field which I would consider mandatory and would be OK if we always have it as the first one and not necessarily part of the customization process.

Patches are welcome :)
User avatar (0023237)
mantistestor (reporter)
2009-10-19 08:19

having the same list in view_all_bug_page.php and the relationsship-table seems to be a good idea. but, i think we are close on the issue with this:

in relationship_api.php
+ $t_relationship_info_html .= $t_bug->priority.' </td>';
brings the code for example "30". 30 meens the priority "normal". I look for a way to parse the "30" in "normal" like all the other sides does. printscreens explain probably better than my bad english... ;)

- Issue History
Date Modified Username Field Change
2006-09-20 10:18 Ellerbrok New Issue
2006-09-20 10:20 Ellerbrok Note Added: 0013420
2009-10-16 05:39 mantistestor Note Added: 0023211
2009-10-16 10:03 mantistestor Note Edited: 0023211 View Revisions
2009-10-16 10:04 mantistestor Note Edited: 0023211 View Revisions
2009-10-17 12:41 vboctor Tag Attached: patch
2009-10-17 12:45 vboctor Note Added: 0023226
2009-10-17 12:45 vboctor Status new => acknowledged
2009-10-19 08:19 mantistestor Note Added: 0023237
2009-10-19 08:22 mantistestor File Added: pic_prio.png
2012-07-28 05:57 atrol Relationship added related to 0014522


MantisBT 1.2.16dev master-1.2.x-8c2bd07 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.0945 seconds.
memory usage: 2,799 KB
Powered by Mantis Bugtracker