mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-21 02:19:47 +00:00
history: hide disabled coins from pool stats
This commit is contained in:
parent
0388d7bc4b
commit
38efad3aa8
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ $total4 = 0;
|
|||
$main_ids = array();
|
||||
|
||||
$algo = user()->getState('yaamp-algo');
|
||||
$list = dbolist("SELECT coin_id FROM blocks WHERE coin_id IN (select id from coins where algo=:algo)
|
||||
$list = dbolist("SELECT coin_id FROM blocks WHERE coin_id IN (select id from coins where algo=:algo and enable=1 and visible=1)
|
||||
AND time>$t4 AND category!='orphan' GROUP BY coin_id ORDER BY coin_id DESC",
|
||||
array(':algo'=>$algo)
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue