Skip to content

Commit

Permalink
Merge pull request #124 from forza-mor-rotterdam/aanvullende-informatie
Browse files Browse the repository at this point in the history
Removed duplicate usage of toelichting. Now only used for omschrijvin…
  • Loading branch information
JRStrikwerda authored Apr 2, 2024
2 parents 72d3ada + 551cbd4 commit f6094e8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/apps/main/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,10 @@ def signaal_data(self, files=[]):
},
"origineel_aangemaakt": now.isoformat(),
"onderwerpen": self.get_onderwerp_urls(data.get("categorie", [])),
"omschrijving_kort": data.get("toelichting", "")[:500],
"omschrijving": data.get("toelichting", "")[:5000],
"omschrijving_melder": data.get("toelichting", "")[:500],
"aanvullende_informatie": data.get("aanvullende_informatie", "")[
:5000
], # currently not used
"meta": data,
"meta_uitgebreid": labels,
"graven": [
Expand Down

0 comments on commit f6094e8

Please sign in to comment.