search - new result layout. the css is not perfect though.
[wolnelektury.git] / apps / catalogue / models.py
index 1f6210d..ebecc36 100644 (file)
@@ -748,7 +748,8 @@ class Book(models.Model):
             book.build_mobi()
 
         if not settings.NO_SEARCH_INDEX and search_index:
-            index_book.delay(book.id, book_info)
+            book.search_index()
+            #index_book.delay(book.id, book_info)
 
         book_descendants = list(book.children.all())
         descendants_tags = set()