Open douwevdijk opened 7 years ago
HI All,
I am using this line to activate pagination: ( no orderByChild or any query, just a straight URL )
var pageRef = new Firebase.util.Paginate(ref, '$key', {pageSize: 18});
It works, until I move on to the next page and then I am getting the error:
firebase.js:237 Uncaught Error: Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().
FYI, I am using Id's generated by Firebase ( push ). Can anyone assist? I am using the latest library and firebase 2.4.2.
Rgds, Douwe.
any updates ? did you solve this issue ?
HI All,
I am using this line to activate pagination: ( no orderByChild or any query, just a straight URL )
var pageRef = new Firebase.util.Paginate(ref, '$key', {pageSize: 18});
It works, until I move on to the next page and then I am getting the error:
firebase.js:237 Uncaught Error: Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().
FYI, I am using Id's generated by Firebase ( push ). Can anyone assist? I am using the latest library and firebase 2.4.2.
Rgds, Douwe.