Print rendered subject in archive

[MAILPOET-826]
This commit is contained in:
Pavel Dohnal
2017-06-20 10:50:57 +01:00
parent 5600d8087f
commit fb059f585e
2 changed files with 2 additions and 2 deletions

View File

@ -860,6 +860,7 @@ class Newsletter extends Model {
static function getArchives($segment_ids = array()) {
$orm = self::table_alias('newsletters')
->distinct()->select('newsletters.*')
->select('newsletter_rendered_subject')
->whereIn('newsletters.type', array(
self::TYPE_STANDARD,
self::TYPE_NOTIFICATION_HISTORY