Skip to content

Commit 345b7d3

Browse files
authored
Fix oppia#19793: All languages functionality not working (oppia#19900)
All language functionality not working in community library, if is selected any language it works. To fix it I removed this 3 lines in the file oppia/core/templates/pages/library-page/search-bar/search-bar.components.ts: if (!searchUrlQueryString){ return; } This way it will not stop from searching without tokens in the URL. I checked the commit (PR oppia#18882) where this was implemented and the code still works without errors without those lines.
1 parent bb2d39b commit 345b7d3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/templates/pages/library-page/search-bar/search-bar.component.ts

-3
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@ export class SearchBarComponent implements OnInit, OnDestroy {
195195
this.searchQuery, this.selectionDetails.categories.selections,
196196
this.selectionDetails.languageCodes.selections
197197
);
198-
if (!searchUrlQueryString) {
199-
return;
200-
}
201198
this.searchService.executeSearchQuery(
202199
this.searchQuery, this.selectionDetails.categories.selections,
203200
this.selectionDetails.languageCodes.selections, () => {

0 commit comments

Comments
 (0)