We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1db87a commit 60177a9Copy full SHA for 60177a9
src/Templates/Search/Search.phtml
@@ -82,13 +82,14 @@ require('./Includes/header.inc.phtml'); ?>
82
case $item instanceof \BNETDocs\Libraries\Packet\Packet:
83
$url = $item->getURI();
84
$title = $item->getLabel();
85
- $preview = $item->getFormat() ?: $item->getRemarks(true);
+ $preview = $item->getRemarks(true) ?: $item->getFormat();
86
$tags = $item->getTags();
87
break;
88
89
case $item instanceof \BNETDocs\Libraries\Server\Server:
90
91
- $title = $item->getLabel() . ' (' . $item->getAddress() . ':' . $item->getPort() . ')';
+ $title = $item->getLabel();
92
+ $preview = $item->getAddress() . ':' . $item->getPort();
93
94
95
0 commit comments