openfoodfacts-server icon indicating copy to clipboard operation
openfoodfacts-server copied to clipboard

No more sold products should not be available for search

Open alexgarel opened this issue 2 years ago • 5 comments

What

We promise to producer that if they mark a product as "taken off the market" they should not be found doing a search. But as you search them, you find them.

Steps to Reproduce

  1. Go to https://world.openfoodfacts.org/product/3760307950145/la-jucerie and see that it is "taken off the market"
  2. Go to front page and search "jucerie"
  3. you see the product in result page

Expected behavior

The product should not appear in a search (but maybe, a search on barcode). Still, it should be reachable by its url.

Part of

alexgarel avatar Apr 26 '22 12:04 alexgarel

We downrank them, not make them disappear alltogether

teolemon avatar Apr 26 '22 12:04 teolemon

This issue is stale because it has been open 90 days with no activity.

github-actions[bot] avatar Jul 26 '22 00:07 github-actions[bot]

@manon-corneille this issue might be of interest to you.

alexgarel avatar Jul 26 '22 08:07 alexgarel

I would like to work on this issue @alexgarel

aakankshabhende avatar Sep 11 '22 16:09 aakankshabhende

@aakankshabhende this might be a difficult issue, just because the codebase is large ! Also because it's a bit controversial, and I think to make this resolution acceptable we should also add a "include unsold products" checkbox on the advanced search, and/or display the number of hidden unsold products on a search.

alexgarel avatar Sep 13 '22 13:09 alexgarel

This issue has been open 90 days with no activity. Can you give it a little love by linking it to a parent issue, adding relevant labels and projets, creating a mockup if applicable, adding code pointers from https://github.com/openfoodfacts/openfoodfacts-server/blob/main/.github/labeler.yml, giving it a priority, editing the original issue to have a more comprehensive description… Thank you very much for your contribution to 🍊 Open Food Facts

github-actions[bot] avatar Jan 08 '24 00:01 github-actions[bot]

We finally separated in two collections : obsolete products and others.

See #8277

alexgarel avatar Jan 08 '24 17:01 alexgarel