From 57a952a6d1a23c80e5116e6ad7d0a41388b91eb9 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 18 Jun 2026 15:27:09 -0400 Subject: [PATCH] [templates] Fix bug in calendar view --- PROJECT.org | 6 +++++- vrobbler/apps/scrobbles/views.py | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/PROJECT.org b/PROJECT.org index 7e7a9bf..562bf65 100644 --- a/PROJECT.org +++ b/PROJECT.org @@ -88,7 +88,7 @@ fetching and simple saving. *** Metadata sources **** Scraper -* Backlog [1/22] :vrobbler:project:personal: +* Backlog [2/23] :vrobbler:project:personal: ** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :bug:music:scrobbles: :PROPERTIES: :ID: 702462cf-d54b-48c6-8a7c-78b8de751deb @@ -591,6 +591,10 @@ a helper method to create board game scrobbles given a json blob. It's independent of the email flow it was originally creatdd for ** TODO [#B] Is there way to create unique slugs for media instances :media_types: +** DONE [#A] Fix bug in scrobble id in calendar view :templates: +:PROPERTIES: +:ID: 8cb34852-b18f-e794-cd9b-fb1ecad70a0d +:END: ** DONE [#A] Video game cleanup script should clear out broken images :metadata:videogames: :PROPERTIES: :ID: ca1f1ea9-0f79-082c-5ff7-867671faff4b diff --git a/vrobbler/apps/scrobbles/views.py b/vrobbler/apps/scrobbles/views.py index 394b1b6..b24fcb5 100644 --- a/vrobbler/apps/scrobbles/views.py +++ b/vrobbler/apps/scrobbles/views.py @@ -1717,6 +1717,7 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView): for scrobble in day_map[day_num]: day_scrobbles.append( { + "id": scrobble.pk, "uuid": scrobble.uuid, "emoji": self.MEDIA_EMOJI.get(scrobble.media_type, "📌"), "title": (