From a7592a29f6b55a0bfbc3700f536250a9405eed95 Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Mon, 27 Jan 2025 13:14:55 +1100 Subject: [PATCH] Remove space in person id query param for tags --- templates/partials/tags.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/partials/tags.html b/templates/partials/tags.html index a899155..ded5b1e 100644 --- a/templates/partials/tags.html +++ b/templates/partials/tags.html @@ -53,7 +53,7 @@ confirmButtonText: 'Add', showLoaderOnConfirm: true, preConfirm: (tag) => { - return fetch(`{{ url_for('add_tag') }}?tag=${encodeURIComponent(tag)}&filter=${encodeURIComponent(window.location.search)}{% if person_id %} {{ "&person_id={person_id}".format(person_id=person_id) | safe }} {% endif%}`) + return fetch(`{{ url_for('add_tag') }}?tag=${encodeURIComponent(tag)}&filter=${encodeURIComponent(window.location.search)}{% if person_id %}{{ "&person_id={person_id}".format(person_id=person_id) | safe }} {% endif%}`) .then(response => { if (!response.ok) { throw new Error(response.statusText)