mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Add ability to filter for blocked queries in conjunction the client filter in the Query Log. Request such filtered data when clicking on a client in the Top Clients (blocked only) table on the dashboard.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -288,6 +288,11 @@ else
|
||||
// Get specific domain only
|
||||
sendRequestFTL("getallqueries-domain ".$_GET['domain']);
|
||||
}
|
||||
else if(isset($_GET['client']) && (isset($_GET['type']) && $_GET['type'] === "blocked"))
|
||||
{
|
||||
// Get specific client only
|
||||
sendRequestFTL("getallqueries-client-blocked ".$_GET['client']);
|
||||
}
|
||||
else if(isset($_GET['client']))
|
||||
{
|
||||
// Get specific client only
|
||||
|
||||
Reference in New Issue
Block a user