-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'page' of undefined, #34
Comments
Seems to be due to how I made SearchResults act like an array, it calls the constructor with the wrong arguments. I'll see how I can work around this without needing to just re-implement every array function. |
The error started when I made the filter. |
Any progress on this? I found the same issue with the results.map(). |
With how busy I've been, this issue kinda dropped from my todo list. I'll try and have a fix out this weekend |
Fixed in booru@2.0.4 The workaround itself is somewhat hacky, but should work fine. Only downside is that calling array methods on SearchResults returns an array of Posts, meaning you lose all the SearchResults methods (although that shouldn't be a problem?) |
Code: https://pastr.io/view/1NNYwx Error: https://i.imgur.com/wtCG640.png
The text was updated successfully, but these errors were encountered: