Closed jwjacobson closed 10 months ago
Same thing is happening with delete
Works or me adding 2 tunes, let's look in a bit then, how to reproduce this issue?
I was tired when I wrote this issue, maybe it's not clear, it should say "right tunes" instead of "write tunes." Adding tunes is fine, it's just editing or deleting that works but on the wrong tune. I suspect maybe it is confusion between tune and repertoire_tune ids? I notice that the repertoire_tune table automatically has its own "id" field that maybe is getting swapped for tune_id
I assume this is a problem with the view which I will look at tomorrow. The edit button either opens the wrong tune or returns an error (probably because looking for a non-existent tune_id)