Skip to content

Commit e9575f3

Browse files
committed
Redirect to search results when searching from index page
1 parent c3d4a31 commit e9575f3

File tree

1 file changed

+1
-1
lines changed
  • kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/LessonResourceSelection/subPages

1 file changed

+1
-1
lines changed

kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/LessonResourceSelection/subPages/SelectFromTopicTree.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
8282
props.setGoBack(() => {
8383
const { searchTopicId } = routeQuery;
84-
if (!isTopicFromSearchResult.value || !routeQuery.searchTopicId) {
84+
if (!isTopicFromSearchResult.value) {
8585
return instance.proxy.$router.push({
8686
name: PageNames.LESSON_SELECT_RESOURCES_INDEX,
8787
});

0 commit comments

Comments
 (0)