Code to display the contents of two groups? I can display one

HI All

Ive got this code which displays the contents of the group, one group works fine. However I’ve got some blinds and shutters, and I want to display the contents BOTH inside this widget.

<div ng-repeat="item in itemsInGroup('gAllLights') | filter:query as filtered">

I tried

<div ng-repeat="item in itemsInGroup('gAllLights') && itemsInGroup('gAllShutters') | filter:query as filtered">

Any help would be great, thanks!

I think the easiest way to fix this is to make a parent group (gAllLightsAndShutters for instance) and request that group

1 Like