diff --git a/share/templates/api/root/collection.tt b/share/templates/api/root/collection.tt
index bb5ccbb6cf..ee611cc875 100644
--- a/share/templates/api/root/collection.tt
+++ b/share/templates/api/root/collection.tt
@@ -109,7 +109,7 @@ See description how to obtain properties, if any.
[% FOREACH f IN col.query_params -%]
-[% IF f.query_type = 'wildcard' -%]
+[% IF f.query_type == 'wildcard' -%]
- [% f.param %]: [% f.description _ ' ' _ ' (prefix search, * wildcards supported, note that leading or intermediate wildcards can be slow)' %]
[% ELSE -%]
- [% f.param %]: [% f.description %]