From 8986a3e7ee4118b7fae9d93c09c870e72de0e49d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 28 Mar 2025 07:59:46 +0300 Subject: add limited highlighting of filter test results based on matched rules --- js/CommonFilters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/CommonFilters.js b/js/CommonFilters.js index 83bc4cae9..f1f0e9e0c 100644 --- a/js/CommonFilters.js +++ b/js/CommonFilters.js @@ -20,7 +20,7 @@ const Filters = { PARAM_ACTIONS: [4, 6, 7, 9, 10], filter_info: {}, formatMatchedRules: function(rules) { - return rules.map((r) => r.regexp_matches[0] + ' - ' + r.reg_exp).join('\n'); + return rules.map((r) => r.regexp_matches[0] + ' - ' + r.reg_exp + ' (' + r.type + ')').join('\n'); }, test: function() { const test_dialog = new fox.SingleUseDialog({ -- cgit v1.2.3-54-g00ecf