only negative search tags bug #251

Closed
NaGeL182 opened this Issue Aug 3, 2012 · 1 comment

Projects

None yet

2 participants

@NaGeL182

One of my users reported she cant search the booru with onyl negative tags... she doesnt one to one sertain images, but this doesnt bring up any results.
It says that there is no image with that creteria...
but wheni add one positive tag it works again...

i looked at the code and i speculate that the reason it doesnt work is this code:

$sign = $tq->positive ? "+" : "-";
$sql .= ' '.$sign.' (tag LIKE :tag'.$tag_n.')';

but my speculation could be way of.. my reason is that it handles the negative tags the same was as positive ones...

Ignore the last part if its none sense, i have no idea why this is not working....

@DakuTree
Collaborator

This is a duplicate of issue #66.

@DakuTree DakuTree closed this Feb 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment