kopia lustrzana https://github.com/wagtail/wagtail
Removes a newline.
rodzic
42c38a6af0
commit
77dfab5968
|
@ -124,9 +124,8 @@ class Index(object):
|
|||
ids_and_objs = {}
|
||||
for obj in objs:
|
||||
obj._search_vector = (
|
||||
ADD([
|
||||
SearchVector(Value(text), weight=weight, config=config)
|
||||
for text, weight in obj._body_])
|
||||
ADD([SearchVector(Value(text), weight=weight, config=config)
|
||||
for text, weight in obj._body_])
|
||||
if obj._body_ else SearchVector(Value('')))
|
||||
ids_and_objs[obj._object_id] = obj
|
||||
index_entries = IndexEntry._default_manager.using(self.db_alias)
|
||||
|
|
Ładowanie…
Reference in New Issue