소스 검색

HUE-8881 [search] Solr examples cannot be loaded back

Romain 6 년 전
부모
커밋
970ac95415
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 0
      apps/search/src/search/fixtures/initial_search_examples.json
  2. 1 1
      desktop/libs/dashboard/src/dashboard/views.py

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
apps/search/src/search/fixtures/initial_search_examples.json


+ 1 - 1
desktop/libs/dashboard/src/dashboard/views.py

@@ -115,7 +115,7 @@ def index(request, is_mobile=False):
   template = 'search.mako'
   if is_mobile:
     template = 'search_m.mako'
-  engine = collection.data['collection']['engine']
+  engine = collection.data['collection'].get('engine', 'solr')
 
   return render(template, request, {
     'collection': collection,

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.