vuefire- When I do orderBy () I lose the auto-sync

116 Views Asked by At

When I do ".orderBy('')" it no longer updates my list when I delete or do actions on it. I do not understand what the problem is.

Without the orderBy ('') everything works fine, but I have to sort the list.

Would appreciate help

bindCycle: firestoreAction(({ state, bindFirestoreRef }) => {
  
  return bindFirestoreRef(
    'Cycle',
    fb.Cycle.where('Id', '==', state.Id).orderBy('done')
  )
}),
0

There are 0 best solutions below