Skip to content
Snippets Groups Projects
Commit 4f57da0c authored by Kevin Paxman's avatar Kevin Paxman
Browse files

ISTWCMS-5753: make csv content report published status show yes/no

parent 63dc3fae
No related branches found
No related tags found
1 merge request!269Feature/istwcms 5753 ebremner csv content report
...@@ -96,7 +96,7 @@ class UwDownloadCsvController extends ControllerBase { ...@@ -96,7 +96,7 @@ class UwDownloadCsvController extends ControllerBase {
'title' => '"' . $node->getTitle() . '"', 'title' => '"' . $node->getTitle() . '"',
'type' => $node->type->entity->label(), 'type' => $node->type->entity->label(),
'path' => $this->pathAlias->getAliasByPath('/node/' . $node->id()), 'path' => $this->pathAlias->getAliasByPath('/node/' . $node->id()),
'published' => $node->status->value, 'published' => $node->status->value == 1 ? 'yes' : 'no',
'created' => date('Y-d-m G:i', $node->getCreatedTime()), 'created' => date('Y-d-m G:i', $node->getCreatedTime()),
'updated' => date('Y-d-m G:i', $node->getChangedTime()), 'updated' => date('Y-d-m G:i', $node->getChangedTime()),
]; ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment