Skip to content

Commit

Permalink
(chore): use title as slug
Browse files Browse the repository at this point in the history
  • Loading branch information
niekh1234 committed Jan 3, 2023
1 parent d9dc38e commit 299257a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenConvenanten/Models/OpenConvenanten.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function transform(): array
'Inhoud' => $this->meta('Inhoud', ''),
'Duur' => $this->meta('Duur', ''),
'Datum_ondertekening' => $this->meta('Datum_ondertekening', ''),
'slug' => \sanitize_title($this->meta('ID', '')),
'slug' => \sanitize_title($this->meta('Titel', '')),
'identifier' => $this->field('ID', ''),
];

Expand Down

0 comments on commit 299257a

Please sign in to comment.