-
-
Notifications
You must be signed in to change notification settings - Fork 64
Fixed title indexing of items with title identical to the item's path #968
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
Conversation
7ace3fa to
5b30353
Compare
|
@benoit74 to confirm it fixes the issue he reported, then we can merge |
benoit74
left a comment
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.
Tested with @rgaudin, behavior seems OK now.
rgaudin
left a comment
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.
Tested via pylibzim with the code I mentioned in #963 and expected suggestions are now showing up
there are 5 matches for Paris
['Paris', 'Paris_Love', 'Foo Paris']|
I will merge this PR once the CI is green. It's urgent to move forward with |
This is just a warm-up commit in this PR.
... so that a new unit test (coming in the next commit) can be added in a readable form.
The new test case fails because of a bug (#963).
The fix has a side effect that items with empty titles get indexed by their path.
5b30353 to
8d202f8
Compare
Fixes #963