diff --git a/app/static/js/view-modal.js b/app/static/js/view-modal.js index 979bd14..f293371 100644 --- a/app/static/js/view-modal.js +++ b/app/static/js/view-modal.js @@ -481,7 +481,7 @@ document.addEventListener('DOMContentLoaded', () => { tags.forEach(t => { const chip = document.createElement('a'); chip.className = 'provenance-chip'; - chip.href = `/gallery?tag=${encodeURIComponent(t.name)}`; + chip.href = `/gallery?tag_id=${t.id}`; chip.title = t.name; chip.dataset.tagName = t.name; chip.dataset.kind = t.kind;