Commit 15dcaea7 authored by August Schwerdfeger's avatar August Schwerdfeger

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

parent b5632eae
...@@ -919,7 +919,7 @@ static gchar *get_query_string(const dt_collection_properties_t property, const ...@@ -919,7 +919,7 @@ static gchar *get_query_string(const dt_collection_properties_t property, const
break; break;
case DT_COLLECTION_PROP_TAG: // tag case DT_COLLECTION_PROP_TAG: // tag
query = dt_util_dstrcat(query, "(id IN (SELECT imgid FROM main.tagged_images AS a JOIN " 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); escaped_text);
break; 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