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

Multiple instances of same project being returned in search results #159

Open
joshdarby opened this issue Jul 20, 2020 · 2 comments
Open
Assignees
Milestone

Comments

@joshdarby
Copy link

I’m noticing that the search is producing many results more than once so there’s got to be something in the coding… For example. I searched on Radio and Journalism and as you click on “Load More Projects” some of the projects already visible show up again in the list (2x)

Example search page:
https://current.org/local-projects/?projects-search=&tax_input%5Bproject-org-type%5D%5B%5D=&tax_input%5Bproject-category%5D%5B%5D=7125

Examples with multiple instances:
The Rapidian
RadioActive Youth Media

It seems like this may be happening due to the empty project-org-type query.

If &tax_input%5Bproject-org-type%5D%5B%5D= is removed from the query url, the duplicate project instances do not appear.

@joshdarby joshdarby added this to the INOV-001 milestone Jul 20, 2020
@joshdarby joshdarby self-assigned this Jul 21, 2020
@joshdarby
Copy link
Author

@benlk had a thought that maybe caching is messing with it. However, that doesn't seem to be the case.

Examples:

I tried disabling Jetpack on staging but that did not make a difference.

@joshdarby
Copy link
Author

This may have been inadvertently solved by #161

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

No branches or pull requests

1 participant