diff --git a/scripts/langindex.json b/scripts/langindex.json index 2ad44374b..5233adbf0 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -685,7 +685,6 @@ "addon.mod_forum.removefromfavourites": "forum", "addon.mod_forum.reply": "forum", "addon.mod_forum.replyplaceholder": "forum", - "addon.mod_forum.searchresults": "course", "addon.mod_forum.subject": "forum", "addon.mod_forum.tagarea_forum_posts": "forum", "addon.mod_forum.thisforumhasduedate": "forum", diff --git a/src/addons/mod/forum/lang.json b/src/addons/mod/forum/lang.json index 42c33b92a..46277f2df 100644 --- a/src/addons/mod/forum/lang.json +++ b/src/addons/mod/forum/lang.json @@ -59,7 +59,6 @@ "removefromfavourites": "Unstar this discussion", "reply": "Reply", "replyplaceholder": "Write your reply...", - "searchresults": "Search results: {{$a}}", "subject": "Subject", "tagarea_forum_posts": "Forum posts", "thisforumhasduedate": "The due date for posting to this forum is {{$a}}.", diff --git a/src/addons/mod/forum/pages/search/search.html b/src/addons/mod/forum/pages/search/search.html index 24274aa3c..c33244429 100644 --- a/src/addons/mod/forum/pages/search/search.html +++ b/src/addons/mod/forum/pages/search/search.html @@ -23,10 +23,6 @@ -
- {{ 'addon.mod_forum.searchresults' | translate: { $a: resultsSource.getTotalResults() } }} -
- diff --git a/src/addons/mod/forum/tests/behat/search.feature b/src/addons/mod/forum/tests/behat/search.feature index f9cde8dc2..b6471d5d3 100644 --- a/src/addons/mod/forum/tests/behat/search.feature +++ b/src/addons/mod/forum/tests/behat/search.feature @@ -46,6 +46,5 @@ Feature: Test Forum Search When I set the field "Search" to "message" in the app And I press "Search" "button" in the app - Then I should find "Search results: 2" in the app - And I should find "Test forum 1" in the app + Then I should find "Test forum 1" in the app And I should find "Test forum 2" in the app