Skip to content

Commit e7a4273

Browse files
committed
1 parent 4b95fb0 commit e7a4273

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

core/concepts/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(self, source=None, **kwargs):
4949
def build_property_facets_from_source(source):
5050
return {
5151
f"properties__{prop['code']}": TermsFacet(field=f"properties.{prop['code']}.keyword", size=FACET_SIZE)
52-
for prop in (source.concept_summary_properties or [])
52+
for prop in (source.properties_to_include_in_concept_summary or [])
5353
}
5454

5555

core/sources/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def is_hierarchy_root_belonging_to_self(self):
235235
return hierarchy_root.parent_id == self.head.id
236236

237237
@property
238-
def concept_summary_properties(self):
238+
def properties_to_include_in_concept_summary(self):
239239
return [prop for prop in self.properties or [] if prop.get('include_in_concept_summary', None) is True]
240240

241241
def clean(self):

0 commit comments

Comments
 (0)