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

Search results include "None" entries #372

Closed
ioalexei opened this issue Mar 21, 2024 · 2 comments
Closed

Search results include "None" entries #372

ioalexei opened this issue Mar 21, 2024 · 2 comments
Assignees
Labels
🕔 Size 3 It will take me between 2 hours to half a day

Comments

@ioalexei
Copy link

Searching for Kartoza in the plugin search returns several plugin results but also two entries for "None" which just link back to the search query.

https://plugins.qgis.org/search/?q=kartoza

image

@Xpirix Xpirix self-assigned this Mar 27, 2024
@Xpirix Xpirix moved this to To Be Estimated in Lova Work Planning Mar 27, 2024
@Xpirix
Copy link
Collaborator

Xpirix commented Mar 27, 2024

Dear @ioalexei ,

I've fixed it for now. I think that the search index doesn't rebuild automatically when a plugin is deleted. A similar issue has been also reported in the past (#24). I will spend more time to understand how it works and try to prevent it.

Regards.

@Xpirix Xpirix moved this from To Be Estimated to This sprint in Lova Work Planning Apr 3, 2024
@Xpirix Xpirix added the 🕔 Size 3 It will take me between 2 hours to half a day label Apr 3, 2024
@Xpirix Xpirix moved this from This sprint to In Progress in Lova Work Planning Apr 3, 2024
@Xpirix
Copy link
Collaborator

Xpirix commented Apr 3, 2024

After investigating the issue, I noticed that it is related to the old version of django-haystack currently used (2.8.1).

I did the test locally with the current version 3.2.1 and the search index was rebuilt automatically after deleting/adding a plugin. This version is implemented with the proposed PR #374.

@Xpirix Xpirix moved this from In Progress to Review in progress in Lova Work Planning Apr 3, 2024
@Xpirix Xpirix closed this as completed May 24, 2024
@github-project-automation github-project-automation bot moved this from Review in progress to Done in Lova Work Planning May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕔 Size 3 It will take me between 2 hours to half a day
Projects
Development

No branches or pull requests

2 participants