allow single tag wildcards
git-svn-id: file:///home/shish/svn/shimmie2/trunk@216 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
fe5264c3b1
commit
2fcb9e168e
@ -158,7 +158,7 @@ class Database {
|
|||||||
}
|
}
|
||||||
else if($positive_tag_count == 1 && $negative_tag_count == 0) {
|
else if($positive_tag_count == 1 && $negative_tag_count == 0) {
|
||||||
$query = new Querylet(
|
$query = new Querylet(
|
||||||
"{$this->get_images} WHERE images.id IN (SELECT image_id FROM tags WHERE tag = ?) ",
|
"{$this->get_images} WHERE images.id IN (SELECT image_id FROM tags WHERE tag LIKE ?) ",
|
||||||
$tag_search->variables);
|
$tag_search->variables);
|
||||||
|
|
||||||
if(strlen($img_search->sql) > 0) {
|
if(strlen($img_search->sql) > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user