Fix pas de résultats et erreur 500
All checks were successful
Build and Push Docker Images / Build Backend Image (push) Successful in 9m6s
Build and Push Docker Images / Build Frontend Image (push) Successful in 1m5s

This commit is contained in:
2026-01-27 23:10:36 +01:00
parent ed010fa60f
commit 989d1c0546

View File

@@ -178,7 +178,6 @@ def get_tracks(
query = query.filter(AudioTrack.instruments.any(instrument))
# Second, track's instruments array length must match the specified instruments count
# This is PostgreSQL specific - we check that the array has exactly the same elements
from sqlalchemy import func
query = query.filter(func.array_length(AudioTrack.instruments, 1) == len(instruments))
else:
# Track must have ALL specified instruments (but can have others too)