Loading back/myfab/queue.py +1 −1 Original line number Diff line number Diff line Loading @@ -99,7 +99,7 @@ def create_queue(name, weight, meta): def get_queue_elements_list(qid): elems = [] for ql in PrintRequest.join(QueueElement).select().where(QueueElement.queue == qid).order_by(QueueElement.id): for ql in PrintRequest.select().join(QueueElement).where(QueueElement.queue == qid).order_by(QueueElement.id): elems.append({ "id": ql.id, "author": ql.author, Loading Loading
back/myfab/queue.py +1 −1 Original line number Diff line number Diff line Loading @@ -99,7 +99,7 @@ def create_queue(name, weight, meta): def get_queue_elements_list(qid): elems = [] for ql in PrintRequest.join(QueueElement).select().where(QueueElement.queue == qid).order_by(QueueElement.id): for ql in PrintRequest.select().join(QueueElement).where(QueueElement.queue == qid).order_by(QueueElement.id): elems.append({ "id": ql.id, "author": ql.author, Loading