Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions enferno/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,9 @@ def status() -> None:
def serialize_bulletin(bulletin):
"""Serialize a bulletin for the public archive export.

Includes only public-facing fields. Strips workflow, assignment,
review, and internal metadata.
Includes only public-facing fields. The internal ``description`` is
never exported; only the SJAC-authored ``public_description`` goes out.
Strips workflow, assignment, review, and internal metadata.
"""
labels = [
{"id": l.id, "title": l.title, "title_ar": l.title_ar, "verified": l.verified}
Expand Down Expand Up @@ -911,7 +912,6 @@ def serialize_bulletin(bulletin):
"id": bulletin.id,
"title": bulletin.title,
"title_ar": bulletin.title_ar,
"description": bulletin.description,
"public_description": bulletin.public_description,
"source_link": bulletin.source_link,
"publish_date": DateHelper.serialize_datetime(bulletin.publish_date),
Expand Down
Loading