Skip to content
Snippets Groups Projects
Commit 6b26c1c8 authored by Eva Bardou's avatar Eva Bardou :frog:
Browse files

Correctly apply transcriptions filter

parent d9685c6b
No related branches found
No related tags found
1 merge request!92Correctly apply transcriptions filter
Pipeline #168952 passed
......@@ -3,8 +3,11 @@ stages:
- build
- release
variables:
DEBIAN_FRONTEND: non-interactive
test:
image: python:3
image: python:slim
stage: test
cache:
......@@ -32,9 +35,9 @@ test:
- tox
lint:
stage: test
image: python:3.11
image: python:slim
stage: test
cache:
paths:
- .cache/pip
......@@ -47,6 +50,9 @@ lint:
before_script:
- pip install pre-commit
# Install git
- apt-get update -q -y && apt-get install -q -y --no-install-recommends git
except:
- schedules
......
......@@ -77,7 +77,7 @@ def get_children_info(
# Filter by transcription source
if sources:
transcriptions.where(parse_sources(sources.copy()))
transcriptions = transcriptions.where(parse_sources(sources.copy()))
# Additional ordering in case there are identical names
return transcriptions.order_by(Transcription.element.name, Transcription.element_id)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment