You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to replicate some of the mechanisms which are used here for my project. I've found which appears to be a strange behavior on the generateOrderRank hook, and I'm not sure if this is the expected output.
Basically, it appears that the hook gets stuck and generates the same lexorank multiple times because it received an input from a wrongly sorted query?
I suspect it might be happening here too, since my code is nearly identical since I copied from here. The problem disappears when I flip the order of the sorting as such:
sort: '-orderRank'
Thanks for making the plugin! I'll be using this as a reference on making my custom tree collection.
The text was updated successfully, but these errors were encountered:
@zakinadhif Thank you for looking into this! This bug actually resolved into the user being unable to sort their documents in some cases. This resolved that! 🥳
Hello!
I've been trying to replicate some of the mechanisms which are used here for my project. I've found which appears to be a strange behavior on the
generateOrderRank
hook, and I'm not sure if this is the expected output.Basically, it appears that the hook gets stuck and generates the same lexorank multiple times because it received an input from a wrongly sorted query?
I suspect it might be happening here too, since my code is nearly identical since I copied from here. The problem disappears when I flip the order of the sorting as such:
sort: '-orderRank'
Thanks for making the plugin! I'll be using this as a reference on making my custom tree collection.
The text was updated successfully, but these errors were encountered: