diff options
Diffstat (limited to 'lib/MasterWebInterface/Handler/Games.pm')
| -rwxr-xr-x | lib/MasterWebInterface/Handler/Games.pm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/MasterWebInterface/Handler/Games.pm b/lib/MasterWebInterface/Handler/Games.pm index affebf6..cec7ab1 100755 --- a/lib/MasterWebInterface/Handler/Games.pm +++ b/lib/MasterWebInterface/Handler/Games.pm @@ -6,8 +6,8 @@ use TUWF ':html'; use Exporter 'import'; TUWF::register( - qr{g} => \&gamelist, - qr{g(|/all)} => \&gamelist, + qr{g} => \&gamelist, + qr{g/all} => \&gamelist, ); # @@ -35,11 +35,10 @@ sub gamelist search => $f->{q}, results => $f->{r}, all => $all, - ); $self->htmlHeader(title => "Browse Games"); - $self->htmlSearchBox(title => "Games", action => "/g/all", sel => 'g', fq => $f->{q}); + $self->htmlFilterBox(title => "Games", action => "/g/all", sel => 'g', fq => $f->{q}); # # game list @@ -100,7 +99,7 @@ sub gamelist # number of beacons / servers td title => ($l->{num_direct} // 0) . " / " . ($l->{num_total} // 0), - $l->{num_direct} // 0; + $l->{num_total} // 0; end; }, ); |
