Skip to content

Commit

Permalink
Fix bug causing extra queries
Browse files Browse the repository at this point in the history
  • Loading branch information
ffont committed Oct 24, 2023
1 parent 594de37 commit f1e3a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates_bw/sounds/player.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
data-similar-sounds="{% if show_similar_sounds_button and sound.similarity_state == 'OK' %}true{% else %}false{% endif %}"
data-similar-sounds-modal-url="{% if show_similar_sounds_button %}{% url 'sound-similar' sound.username sound.id %}?ajax=1{% endif %}"
data-remix-group="{% if show_remix_group_button and sound.remixgroup_id %}true{% else %}false{% endif %}"
data-remix-group-modal-url="{% if show_remix_group_button %}{% url 'sound-remixes' sound.user.username sound.id %}{% endif %}"
data-remix-group-modal-url="{% if show_remix_group_button %}{% url 'sound-remixes' sound.username sound.id %}{% endif %}"
data-mp3="{{ sound.locations.preview.LQ.mp3.url }}"
data-ogg="{{ sound.locations.preview.LQ.ogg.url }}"
data-waveform="{% if player_size != 'big_no_info' %}{{ sound.locations.display.wave_bw.M.url }}{% else %}{{ sound.locations.display.wave_bw.L.url }}{% endif %}"
Expand Down

0 comments on commit f1e3a67

Please sign in to comment.