Part-DB-server icon indicating copy to clipboard operation
Part-DB-server copied to clipboard

Search returns all items

Open jagauthier opened this issue 3 years ago • 2 comments

Title pretty much sums it up!

When executing a search all items are returned regardless of the search terms.

jagauthier avatar Sep 20 '22 14:09 jagauthier

What version and database type are you using? I can not replicate this issue in the latest version, and the search seems to work fine in the demo version: https://part-db.herokuapp.com/en/parts/search?name=1&category=1&description=1&mpn=1&tags=1&storelocation=1&comment=1&ordernr=1&keyword=BC547

jbtronics avatar Sep 21 '22 13:09 jbtronics

I pulled in from master earlier this week:

commit 58ada496e4db0852889036f8f8658ce260756850 (HEAD -> master, origin/master, origin/HEAD)
Author: Jan Böhmer <[email protected]>
Date:   Sun Sep 18 23:44:44 2022 +0200

    Fixed static analysis issues.

I am using MariaDB 10.8.3

jagauthier avatar Sep 21 '22 14:09 jagauthier

Can you pull the latest commit and try again (there are some issues in the version you have installed, which can trigger exceptions, too). I could not replicate your described bug, in the newest version (and i tried on different systems)

jbtronics avatar Sep 23 '22 12:09 jbtronics

This is strange. Pulled a new version:

commit 9c87202509ace9e520602277613df28ed485d1f8 (HEAD -> master, origin/master, origin/l10n_master, origin/HEAD)
Author: Jan Böhmer <[email protected]>
Date:   Wed Sep 21 16:16:59 2022 +0200

    Allow more font sizes for editor on Label generator page

And took this video (Sorry it's slow to playback):

https://user-images.githubusercontent.com/7101432/191968907-64adc71c-5054-4d44-82a6-774e771c09a1.mp4

jagauthier avatar Sep 23 '22 13:09 jagauthier

I think I have some weird local thing going on. I changed banner.md and it did not change. This might be an "outsmarted myself" situation.

jagauthier avatar Sep 23 '22 13:09 jagauthier

Yup. Big dumb on me.

jagauthier avatar Sep 23 '22 13:09 jagauthier