danielbrendel / hortusfox-web

Self-hosted collaborative plant management and tracking system for plant enthusiasts
https://www.hortusfox.com
MIT License
674 stars 34 forks source link

Search filter checkboxes don't seem to apply #206

Closed averymd closed 6 months ago

averymd commented 6 months ago

I have another one that might be user error. :-) When I perform a search that I'd like to be only tag-based, the submitted search returns with all boxes checked and results include plants with matches in fields other than tags.

To Reproduce Steps to reproduce the behavior:

  1. Have a plant with a tag "av", another plant with "av" in the name (e.g., "agave"), and a third plant with "av" in the scientific name
  2. Go to the search page
  3. Enter "av" and uncheck "include names", "include scientific names", and "include notes" (leave only "include tags")
  4. Click "search"
  5. When the page reloads, all three "av" items will show in the results instead of just the one tagged

Expected behavior I expected the results to be filtered to match my checkbox choices. I do see search_tags in the POST payload.

Software:

Desktop (please complete the following information):

danielbrendel commented 6 months ago

Hi, thank you for reporting this issue. I can reproduce this and it will be included within the next milestone. :)