Skip to content

Commit a1044e9

Browse files
authored
Fix for vendor/class search on analysis page (#1006)
Link to vendor and class search still used MongoDB syntax. New `{"key": "value"}` syntax works because there is no longer an implicit substring matching.
1 parent 0829791 commit a1044e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web_interface/templates/generic_view/general_information.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<i class="fas fa-{{ icon }}"></i>
44
</td>
55

6-
{% set query_str = '{{"{}": {{"$eq": "{}"}}}}'.format(query, content) if query else None %}
6+
{% set query_str = '{{"{}": "{}"}}'.format(query, content) if query else None %}
77
<td class="border-dark" colspan="{{ colspan }}" style="word-break: break-all; word-wrap: break-word; overflow-wrap: break-word;" {% if query %}
88
onclick="location.href='/database/browse?query={{ query_str | urlencode }}'"
99
data-placement="bottom"

0 commit comments

Comments
 (0)