r2247 - use 'default' tab to make the URL in search results list work more often
authorDenis Ovsienko <infrastation@yandex.ru>
Mon, 20 Oct 2008 13:55:06 +0000 (13:55 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 20 Oct 2008 13:55:06 +0000 (13:55 +0000)
inc/interface.php

index f95de4421efbf62b912b58aa2a78bbf1fc429575..6898dc4ceeca744e798e12b89e8ebef50f31fb39 100644 (file)
@@ -3073,7 +3073,7 @@ function renderSearchResults ()
                                                echo "<tr class=row_${order}><td class=tdleft>";
                                                $parentnet = getIPv4AddressNetworkId ($addr['ip']);
                                                if ($parentnet !== NULL)
-                                                       echo "<a href='${root}?page=iprange&id=${parentnet}&hl_ipv4_addr=${addr['ip']}'>${addr['ip']}</a></td>";
+                                                       echo "<a href='${root}?page=iprange&tab=default&id=${parentnet}&hl_ipv4_addr=${addr['ip']}'>${addr['ip']}</a></td>";
                                                else
                                                        echo "<a href='${root}?page=ipaddress&ip=${addr['ip']}'>${addr['ip']}</a></td>";
                                                echo "<td class=tdleft>${addr['name']}</td></tr>";