View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1847 | RackTables | default | public | 2018-09-26 11:19 | 2018-10-10 12:01 |
Reporter | Yasharah | Assigned To | infrastation | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 0.21.1 | ||||
Summary | 1847: Hiding Tags in the Rackview | ||||
Description | Hello, i added the tag names to the rackviews and the full_row_view Plugin and i would like to hide one tag there, because we just need it for the custom reports to filter out objects. I added the tag names to see what the colors mean, because not all colleagues are able to remember all the different colors. i added this to the config (from an older version of the full_row_view plugin): case 'T': $frv_middleRow .= getOutputOf('printObjectDetailsForRenderRack', $rackData[$i][$locidx]['object_id'], $hl_obj_id); # added lines $o = spotEntity ('object',$rackData[$i][$locidx]['object_id']); while ( list ($key,$val) = each( $o['etags'] )) { $frv_middleRow .= "<div style='font: 9px Verdana,sans-serif; text-decoration:none; color=black'>"; $frv_middleRow .= $val['tag']; $frv_middleRow .= "</div>"; break; } is there a possibility to exclude the tag with the tag_id 1? I know its a total individual problem, but maybe its just a minimal change that someone could help me with :( | ||||
Tags | No tags attached. | ||||
Can be done like this:$o = ... $frv_middleRow .= serializeTags (array_diff_key ($o['etags'], array (1, 2, 3))); # tag IDs to suppress etags is indexed with tag id. |
|
Correction:$o = ... $frv_middleRow .= serializeTags (array_diff_key ($o['etags'], array (1 => NULL, 2 => NULL, 3 => NULL))); # tag IDs to suppress |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-09-26 11:19 | Yasharah | New Issue | |
2018-09-27 18:45 | infrastation | Note Added: 0003821 | |
2018-09-27 18:47 | infrastation | Note Added: 0003823 | |
2018-10-10 12:01 | infrastation | Assigned To | => infrastation |
2018-10-10 12:01 | infrastation | Status | new => closed |
2018-10-10 12:01 | infrastation | Resolution | open => no change required |