Changeset 410

Show
Ignore:
Timestamp:
07/09/09 11:41:22 (11 years ago)
Author:
kovell
Message:

Fixes: summary tables correctly filter by ship type

Location:
dev
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/class.killsummarytable.php

    r400 r410  
    396396                                $qrystring .= '&view='.$this->view_; 
    397397                        } 
    398                         $v['url'] = $querystring; 
     398                        $v['qry'] = $qrystring; 
    399399                        $v['kisk'] = round($v['kills_isk']/1000000, 2); 
    400400                        $v['lisk'] = round($v['losses_isk']/1000000, 2); 
  • dev/common/includes/globals.php

    r409 r410  
    77else 
    88{ 
    9         $svn_rev = '409'; 
     9        $svn_rev = '410'; 
    1010} 
    1111define('SVN_REV', $svn_rev); 
  • dev/templates/summarytable.tpl

    r396 r410  
    3232{/if} 
    3333        <tr class={cycle name=ccl}> 
    34                                         <td nowrap class=kb-table-cell><b><a class=kb-shipclass{if $i.hl}-hl{/if} href="?&amp;scl_id={$i.id}">{$i.name}</a></b></td> 
     34                                        <td nowrap class=kb-table-cell><b><a class=kb-shipclass{if $i.hl}-hl{/if} href="?{$i.qry}&amp;scl_id={$i.id}">{$i.name}</a></b></td> 
    3535                                        <td class=kl-kill{if $i.kills == 0}-null{/if} align=center>{$i.kills}</td> 
    3636{if $verbose}                           <td class=kl-kill{if $i.kills == 0}-null{/if} align=center>{$i.kisk}</td>