MDL-87054 mod_glossary: Change "Comments" column position.
This commit is contained in:
@@ -34,9 +34,9 @@ class overview extends \core_courseformat\activityoverviewbase {
|
||||
#[\Override]
|
||||
public function get_extra_overview_items(): array {
|
||||
return [
|
||||
'comments' => $this->get_extra_comments_overview(),
|
||||
'totalentries' => $this->get_extra_totalentries_overview(),
|
||||
'myentries' => $this->get_extra_myentries_overview(),
|
||||
'comments' => $this->get_extra_comments_overview(),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -67,10 +67,10 @@ Feature: Testing overview integration in mod_glossary
|
||||
When I am on the "Course 1" "course > activities > glossary" page logged in as "student1"
|
||||
And I should not see "Actions" in the "glossary_overview_collapsible" "region"
|
||||
Then the following should exist in the "Table listing all Glossary activities" table:
|
||||
| Name | Comments | Total entries | My entries |
|
||||
| Glossary without defaultapproval | 0 | 2 | 3 |
|
||||
| Glossary without entries | - | 0 | 0 |
|
||||
| Glossary with comments | 2 | 1 | 1 |
|
||||
| Name | Total entries | My entries | Comments |
|
||||
| Glossary without defaultapproval | 2 | 3 | 0 |
|
||||
| Glossary without entries | 0 | 0 | - |
|
||||
| Glossary with comments | 1 | 1 | 2 |
|
||||
|
||||
Scenario: The glossary overview report should generate log events
|
||||
Given I am on the "Course 1" "course > activities > glossary" page logged in as "teacher1"
|
||||
|
||||
Reference in New Issue
Block a user