View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
843 | RackTables | default | public | 2013-05-07 14:31 | 2013-05-11 20:59 |
Reporter | blaza-pl | Assigned To | adoom42 | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.20.4 | ||||
Target Version | 0.20.5 | Fixed in Version | 0.20.5 | ||
Summary | 843: Bad search result when only one location matches | ||||
Description | No search results are displayed when search results match only one location. User sees "Array" text. | ||||
Steps To Reproduce | Add new Location with unique name example: "location XXYYYZZ" Search for XXYYYZZ No results are displayed | ||||
Additional Information | I have created a patch to properly display this one location. | ||||
Tags | No tags attached. | ||||
search_single_location.patch (474 bytes)
--- ./interface.php 2013-05-06 10:37:37.881257283 +0200 +++ ./interface.php 2013-05-07 08:10:35.789382806 +0200 @@ -3260,6 +3260,15 @@ else { startPortlet($realm); + if(is_array($record)) + { + echo '<table border=0 cellpadding=5 cellspacing=0 align=center class=cooltable>'; + echo "<tr class=row_odd><td class=tdleft>"; + renderCell ($record); + echo "</td></tr>"; + echo '</table>'; + } + else echo $record; finishPortlet(); } |
|
Thanks for the patch. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-05-07 14:31 | blaza-pl | New Issue | |
2013-05-07 14:31 | blaza-pl | File Added: search_single_location.patch | |
2013-05-11 20:59 | adoom42 | Note Added: 0001393 | |
2013-05-11 20:59 | adoom42 | Assigned To | => adoom42 |
2013-05-11 20:59 | adoom42 | Status | new => closed |
2013-05-11 20:59 | adoom42 | Resolution | open => fixed |
2013-05-11 20:59 | adoom42 | Fixed in Version | => 0.20.5 |
2013-05-11 20:59 | adoom42 | Target Version | => 0.20.5 |