Commit c1459ea2 authored by Ingo Schommer's avatar Ingo Schommer

Merge pull request #59 from zigterman/master

fixes for mailinglist
parents 94ad80e5 afddaec1
......@@ -123,7 +123,7 @@ class NewsletterAdmin extends ModelAdmin {
$statusFilter = array("Sent");
}
$list->addFilter(array("Status" => $statusFilter));
$list = $list->addFilter(array("Status" => $statusFilter));
}
......
......@@ -52,6 +52,8 @@ class Newsletter extends DataObject implements CMSPreviewable{
'MailingLists'
);
private static $field_labels = array();
public function fieldLabels($includelrelations = true) {
$labels = parent::fieldLabels($includelrelations);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment