forked from ScoDoc/DocScoDoc
Merge pull request 'replace ["partition_name"] by .partition_name' (#467) from jmplace/ScoDoc-Lille:fix_order_partition_not_subscritable into master
Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/467
This commit is contained in:
commit
90811fdc0e
@ -420,7 +420,7 @@ def formsemestre_order_partitions(formsemestre_id: int):
|
|||||||
[
|
[
|
||||||
partition.to_dict()
|
partition.to_dict()
|
||||||
for partition in formsemestre.partitions.order_by(Partition.numero)
|
for partition in formsemestre.partitions.order_by(Partition.numero)
|
||||||
if partition["partition_name"] is not None
|
if partition.partition_name is not None
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user