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
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class Database {
|
|||
}
|
||||
else if($positive_tag_count == 1 && $negative_tag_count == 0) {
|
||||
$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);
|
||||
|
||||
if(strlen($img_search->sql) > 0) {
|
||||
|
|
Reference in a new issue