limitToFirst() not working with $firebaseArray and other query parameters
r3wt opened this issue · comments
Garrett R. Morris commented
Version info
Angular:
1.6.2
Firebase:
3.6.9
AngularFire:
2.3.0
Other (e.g. Node, browser, operating system) (if applicable):
Test case
$scope.featuredListings = $firebaseArray( firebase.database().ref('properties').orderByChild('featured').equalTo(true).limitToFirst(16) );
will be happy to add a plunk if you can provide a template. all the versions on plunker are way out of date.
Steps to reproduce
run query and observe wrong behavior.
Expected behavior
16 items at most should be returned
Actual behavior
hundreds of items are returned
Garrett R. Morris commented
oddly its now working. bizarre.