Unverified Commit 7428d2e0 authored by August Schwerdfeger's avatar August Schwerdfeger Committed by Tobias Ellinghaus

Reversed changes made to the behavior of collect-by-tag in commit 71da7aaa.

(cherry picked from commit 15dcaea7)
parent 41ba9a7c
......@@ -914,7 +914,7 @@ static gchar *get_query_string(const dt_collection_properties_t property, const
break;
case DT_COLLECTION_PROP_TAG: // tag
query = dt_util_dstrcat(query, "(id IN (SELECT imgid FROM main.tagged_images AS a JOIN "
"data.tags AS b ON a.tagid = b.id WHERE name LIKE '%1$s' OR name like '%1$s|%%'))",
"data.tags AS b ON a.tagid = b.id WHERE name LIKE '%s'))",
escaped_text);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment