Index: trunk/phase3/includes/specials/SpecialIpblocklist.php |
— | — | @@ -269,7 +269,7 @@ |
270 | 270 | $conds['ipb_expiry'] = 'infinity'; |
271 | 271 | } |
272 | 272 | if( $this->hideaddressblocks ) { |
273 | | - $conds[] = "ipb_range_end > ipb_range_start"; |
| 273 | + $conds[] = "ipb_user != 0 OR ipb_range_end > ipb_range_start"; |
274 | 274 | } |
275 | 275 | |
276 | 276 | $pager = new IPBlocklistPager( $this, $conds ); |
— | — | @@ -285,6 +285,7 @@ |
286 | 286 | $wgOut->addHTML( $this->searchForm() ); |
287 | 287 | $wgOut->addWikiMsg( 'ipblocklist-no-results' ); |
288 | 288 | } else { |
| 289 | + $wgOut->addHTML( $this->searchForm() . $this->showhideLinks() ); |
289 | 290 | $wgOut->addWikiMsg( 'ipblocklist-empty' ); |
290 | 291 | } |
291 | 292 | } |