diff --git a/admin/classes/local/entities/task_log.php b/admin/classes/local/entities/task_log.php index d64a8561c71..f7e4f14a32b 100644 --- a/admin/classes/local/entities/task_log.php +++ b/admin/classes/local/entities/task_log.php @@ -243,7 +243,7 @@ class task_log extends base { $filters[] = (new filter( text::class, 'name', - new lang_string('name'), + new lang_string('classname', 'tool_task'), $this->get_entity_name(), "{$tablealias}.classname" )) diff --git a/admin/tests/behat/task_logs.feature b/admin/tests/behat/task_logs.feature index 7d7abbac371..f7e4e182504 100644 --- a/admin/tests/behat/task_logs.feature +++ b/admin/tests/behat/task_logs.feature @@ -14,9 +14,9 @@ Feature: View task logs report and use its filters And I change window size to "large" And I navigate to "Server > Tasks > Task logs" in site administration When I click on "Filters" "button" - And I set the following fields in the "Name" "core_reportbuilder > Filter" to these values: - | Name operator | Contains | - | Name value | | + And I set the following fields in the "Class name" "core_reportbuilder > Filter" to these values: + | Class name operator | Contains | + | Class name value | | And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element" Then I should see "Filters applied" And I should see "Filters (1)" in the "#dropdownFiltersButton" "css_element"