Skip to content

Commit

Permalink
fix: [api] get titles domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Feb 16, 2024
1 parent 782677e commit 495ceea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/lib/objects/abstract_daterange_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ def get_contents_ids(self):
content = obj.get_content()
if content not in titles:
titles[content] = []
titles[content].append(obj.get_id())
for domain in obj.get_correlation('domain').get('domain', []):
titles[content].append(domain[1:])
return titles

def search_by_content(self, content_to_search, r_pos=False, case_sensitive=True):
Expand Down

0 comments on commit 495ceea

Please sign in to comment.