|
@@ -113,7 +113,7 @@ class SnapshotAdmin(SearchResultsAdminMixin, admin.ModelAdmin):
|
|
|
def title_str(self, obj):
|
|
def title_str(self, obj):
|
|
|
canon = obj.as_link().canonical_outputs()
|
|
canon = obj.as_link().canonical_outputs()
|
|
|
tags = ''.join(
|
|
tags = ''.join(
|
|
|
- format_html('<a href="/admin/core/snapshot/?id__startswith={}"><span class="tag">{}</span></a> ', tag.id, tag)
|
|
|
|
|
|
|
+ format_html('<a href="/admin/core/snapshot/?tags__id__exact={}"><span class="tag">{}</span></a> ', tag.id, tag)
|
|
|
for tag in obj.tags.all()
|
|
for tag in obj.tags.all()
|
|
|
if str(tag).strip()
|
|
if str(tag).strip()
|
|
|
)
|
|
)
|