bugfix: forgot to add data.station to datatables_search call, only the main station's queue was searched
This commit is contained in:
@ -151,7 +151,7 @@ class Radio(FastAPI):
|
|||||||
if not search:
|
if not search:
|
||||||
queue_full: list = orig_queue
|
queue_full: list = orig_queue
|
||||||
else:
|
else:
|
||||||
queue_full: list = self.radio_util.datatables_search(data.search)
|
queue_full: list = self.radio_util.datatables_search(data.search, data.station)
|
||||||
queue: list = queue_full[start:end]
|
queue: list = queue_full[start:end]
|
||||||
queue_out: list[dict] = []
|
queue_out: list[dict] = []
|
||||||
for x, item in enumerate(queue):
|
for x, item in enumerate(queue):
|
||||||
|
Reference in New Issue
Block a user