Danbooru2021 icon indicating copy to clipboard operation
Danbooru2021 copied to clipboard

Mis-handles a leading NOT clause

Open fire-eggs opened this issue 5 years ago • 0 comments

If the first clause in the multi-filter is marked NOT, the query ignores the NOT.

I.e. in getImagesForTags2 the first clause is always generated as:

(select tag_id from tags where name like ?)

but when NOT is checked for the first clause, it should be:

(select tag_id from tags where name not like ?)

fire-eggs avatar Oct 03 '20 23:10 fire-eggs