Service Portal ng-repeat orderBy

xiaix
Tera Guru

The orderBy filter on my ng-repeat is not ordering.

Here's the code and info needed:

find_real_file.png

find_real_file.png

find_real_file.png

Result:

find_real_file.png

As you can see, it's not ordering by label, it's ordering by array index:

find_real_file.png

1 ACCEPTED SOLUTION

vrfox
Giga Contributor

| orderBy: 'label'"



you need single quote


View solution in original post

2 REPLIES 2

vrfox
Giga Contributor

| orderBy: 'label'"



you need single quote


Something so simple... I completely overlooked the obvious.   Thank you, vr_fox