mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Merge pull request #1610 from pi-hole/fix/query_retries
Add new query status 12 and 13 (retried queries)
This commit is contained in:
@@ -195,6 +195,12 @@ function getQueryTypes() {
|
||||
queryType.push(11);
|
||||
}
|
||||
|
||||
if ($("#type_retried").prop("checked")) {
|
||||
// Multiple IDs correspond to this status
|
||||
// We request queries with all of them
|
||||
queryType.push([12, 13]);
|
||||
}
|
||||
|
||||
return queryType.join(",");
|
||||
}
|
||||
|
||||
@@ -317,6 +323,16 @@ $(function () {
|
||||
buttontext =
|
||||
'<button type="button" class="btn btn-default btn-sm text-green"><i class="fas fa-check"></i> Whitelist</button>';
|
||||
break;
|
||||
case 12:
|
||||
color = "green";
|
||||
fieldtext = "Retried";
|
||||
buttontext = "";
|
||||
break;
|
||||
case 13:
|
||||
color = "green";
|
||||
fieldtext = "Retried <br class='hidden-lg'>(ignored)";
|
||||
buttontext = "";
|
||||
break;
|
||||
default:
|
||||
color = "black";
|
||||
fieldtext = "Unknown";
|
||||
|
||||
Reference in New Issue
Block a user