Преглед на файлове

Add type entries to scoped search

Thibaut Courouble преди 8 години
родител
ревизия
3ac7142224
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      assets/javascripts/app/app.coffee

+ 1 - 1
assets/javascripts/app/app.coffee

@@ -111,7 +111,7 @@
     return
 
   initDoc: (doc) ->
-    @entries.add type.toEntry() for type in doc.types.all()
+    doc.entries.add type.toEntry() for type in doc.types.all()
     @entries.add doc.entries.all()
     return