We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d776ccd commit fb24d7fCopy full SHA for fb24d7f
backend/src/openarchiefbeheer/destruction/models.py
@@ -125,7 +125,12 @@ def set_status(self, status: str) -> None:
125
126
def add_items(self, zaken: Iterable["Zaak"]) -> list["DestructionListItem"]:
127
return DestructionListItem.objects.bulk_create(
128
- [DestructionListItem(destruction_list=self, zaak=zaak) for zaak in zaken]
+ [
129
+ DestructionListItem(
130
+ destruction_list=self, zaak=zaak, _zaak_url=zaak.url
131
+ )
132
+ for zaak in zaken
133
+ ]
134
)
135
136
def get_author(self) -> "DestructionListAssignee":
0 commit comments