mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-03 04:31:28 +02:00
When a print was queued with "Any [Model]", the queue widget only queried items with printer_id=X after dispatch, missing the next pending model-based item (printer_id IS NULL, target_model="P1S"). The "Clear Plate & Start Next" button never appeared, leaving the scheduler stuck reporting "Busy". Add optional target_model query parameter to GET /queue/. When combined with printer_id, uses OR logic to also return unassigned items whose target_model matches. The frontend now passes the printer's model through PrinterQueueWidget to this query.