orderByChild once(‘value’) not working

First of all, thanks for this great project!

I have this issue with orderByChild which is not working as expected.

   firebase.database().ref(`/users/${userUid}/items`)
      .orderByChild('priority')
      .once('value', snapshot => {
        // doesn't sort
      });  

similar to this issue from react-native-firestack
fullstackreact/react-native-firestack#82

Anyone else with the same issue?

Author: Fantashit

1 thought on “orderByChild once(‘value’) not working

Comments are closed.

orderByChild once(‘value’) not working

First of all, thanks for this great project!

I have this issue with orderByChild which is not working as expected.

   firebase.database().ref(`/users/${userUid}/items`)
      .orderByChild('priority')
      .once('value', snapshot => {
        // doesn't sort
      });  

similar to this issue from react-native-firestack
fullstackreact/react-native-firestack#82

Anyone else with the same issue?

Author: Fantashit

1 thought on “orderByChild once(‘value’) not working

Comments are closed.

orderByChild once(‘value’) not working

First of all, thanks for this great project!

I have this issue with orderByChild which is not working as expected.

   firebase.database().ref(`/users/${userUid}/items`)
      .orderByChild('priority')
      .once('value', snapshot => {
        // doesn't sort
      });  

similar to this issue from react-native-firestack
fullstackreact/react-native-firestack#82

Anyone else with the same issue?

Author: Fantashit

1 thought on “orderByChild once(‘value’) not working

Comments are closed.