CRM-19355
authortschuettler <tschuettler@oxfam.de>
Tue, 13 Sep 2016 13:51:44 +0000 (15:51 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Sep 2016 13:51:44 +0000 (15:51 +0200)
Hide hidden smart group from unsubscribe list

ang/crmMailing/BlockMailing.html

index 432387719041ebb08d0730ef9d590aec51d542aa..e4556ef6b16ab38b8b176808d470a99c2de760e0 100644 (file)
@@ -61,7 +61,7 @@ It could perhaps be thinned by 30-60% by making more directives.
           ng-model="mailing.recipients.groups.base[0]"
           ng-required="true"
           >
-          <option ng-repeat="grp in crmMailingConst.groupNames | orderBy:'title'" value="{{grp.id}}">{{grp.title}}</option>
+          <option ng-repeat="grp in crmMailingConst.groupNames | filter:{is_hidden:0} | orderBy:'title'" value="{{grp.id}}">{{grp.title}}</option>
         </select>
       </div>
     </span>