Skip to content
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

JS error preventing display of results when using "in distro like" filter #44

Open
Grinnz opened this issue Apr 18, 2018 · 2 comments
Open

Comments

@Grinnz
Copy link
Contributor

Grinnz commented Apr 18, 2018

Context

When doing a search like below I get the following JS error, and there is a count of results but no actual results displayed.

Uncaught TypeError: Cannot read property 'length' of undefined
    at b.verifySuggestionsFormat (20170714091316-8ee3b0e7a6641aed845899d0645808f6.js:80)
    at b.processResponse (20170714091316-8ee3b0e7a6641aed845899d0645808f6.js:80)
    at Object.<anonymous> (20170714091316-8ee3b0e7a6641aed845899d0645808f6.js:80)
    at j (20170714091316-8ee3b0e7a6641aed845899d0645808f6.js:1)
    at Object.fireWith [as resolveWith] (20170714091316-8ee3b0e7a6641aed845899d0645808f6.js:1)
    at x (20170714091316-8ee3b0e7a6641aed845899d0645808f6.js:1)
    at XMLHttpRequest.b (20170714091316-8ee3b0e7a6641aed845899d0645808f6.js:1)

https://grep.metacpan.org/search?q=caller%5C%28&qd=%5EMojo.*&qft=

@atoomic
Copy link
Member

atoomic commented Apr 19, 2018

verifySuggestionsFormat:function(b){return b.length&&"string"==typeof b[0]?a.map(b,function(a){return{value:a,data:null}}):b}

@atoomic
Copy link
Member

atoomic commented Apr 20, 2018

js error is fixed by 2aaec71 but this is not the source of the problem preventing results from being displayed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants