Habpanel Widget ng-repeat items order

I have many widgets using ng-repeat, and the order of the items do not seem to be controllable.
Unless im missing something

This is my blinds tab. I want the blinds to go lounge 1, lounge 2. lounge 3.
but the orders are out.
Ive tried to implete orderby at the end, but nothing seems to work

Any idea?


I had a similar problem:
I want to sort ng-repeat items, which belong to a certain subgroup (in my case a subgroup of ‘gBulb’) in reverse order.

This works for me:
<div ng-repeat="item in itemsInGroup('gBulb') |orderBy:'groupNames[2]':'reverse' |filter:query as filtered_1 ">

Maybe this fit your needs as well.

1 Like

no doesn’t work for me. Nothing changes

This is how I did it:

<div class="row" ng-repeat="item in itemsInGroup('MyGroup') | orderBy:'name'">

And for reverse:

<div class="row" ng-repeat="item in itemsInGroup('MyGroup') | orderBy:'name':true">

1 Like

Thank you. Works excellent