mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-08 22:17:57 +00:00
order tags by file size
This commit is contained in:
parent
6ab4dc87c2
commit
8cf9905846
@ -271,12 +271,12 @@ class TorrentController extends AbstractController
|
||||
|
||||
if (isset($keywords[$keyword]))
|
||||
{
|
||||
$keywords[$keyword]++;
|
||||
$keywords[$keyword] = $keywords[$keyword] + (int) $item['size'];
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
$keywords[$keyword] = 1;
|
||||
$keywords[$keyword] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -420,12 +420,12 @@ class TorrentController extends AbstractController
|
||||
|
||||
if (isset($keywords[$keyword]))
|
||||
{
|
||||
$keywords[$keyword]++;
|
||||
$keywords[$keyword] = $keywords[$keyword] + (int) $item['size'];
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
$keywords[$keyword] = 1;
|
||||
$keywords[$keyword] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user