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
Fixes #6899 - Remove name_sort field #7567
Conversation
src/olympia/addons/indexers.py
Outdated
'is_new': {'type': 'boolean', 'index': False}, | ||
'textcolor': {'type': 'keyword', 'index': False}, | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you removed too much, the issue was just about removing name_sort
, the persona
property needs to stay :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that heads up! Just gotta figure out what tests are failing for Travis now
Hey @seanprashad, just wanted to say I've watched the video you posted about your thought process regarding this issue and it was very cool, keep up the good work! You're close to finishing this PR, only a couple test failures left that were found by travis. While you're at it, could you please remove |
Thank you so much @diox - It definitely means a lot 😄 ! I've gotten a tiny bit closer tonight with Travis only complaining about a different assertion. This one is a bit harder for me to interpret but I think it's not receiving the correct value in both arrays because sorting is not done - what do you think? |
That test indicates that there is more work to be done :) Looks like it's legitimately broken because the searching for addons and sorting by name is broken in that particular area of the code. There are 3 more occurrences of (The reason the one in |
Thank you @diox for those final tidbits of guidance! It looks like TravisCI is giving us the green light to merge - did you want me to squash any of my commits together or is it fine with how it currently is? |
That looks good, thanks. I'll just squash it through github, no need to rebase it yourself. |
Fixes #6899:
SortingFilter
toname.raw
name_sort
fromaddons.indexers