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: ...@@ -3,8 +3,11 @@ stages:
- build - build
- release - release
variables:
DEBIAN_FRONTEND: non-interactive
test: test:
image: python:3 image: python:slim
stage: test stage: test
cache: cache:
...@@ -32,9 +35,9 @@ test: ...@@ -32,9 +35,9 @@ test:
- tox - tox
lint: lint:
stage: test image: python:slim
image: python:3.11
stage: test
cache: cache:
paths: paths:
- .cache/pip - .cache/pip
...@@ -47,6 +50,9 @@ lint: ...@@ -47,6 +50,9 @@ lint:
before_script: before_script:
- pip install pre-commit - pip install pre-commit
# Install git
- apt-get update -q -y && apt-get install -q -y --no-install-recommends git
except: except:
- schedules - schedules
......
...@@ -77,7 +77,7 @@ def get_children_info( ...@@ -77,7 +77,7 @@ def get_children_info(
# Filter by transcription source # Filter by transcription source
if sources: if sources:
transcriptions.where(parse_sources(sources.copy())) transcriptions = transcriptions.where(parse_sources(sources.copy()))
# Additional ordering in case there are identical names # Additional ordering in case there are identical names
return transcriptions.order_by(Transcription.element.name, Transcription.element_id) 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