Resolve "[My students] Students lists aren't sorted alphabetically" #571

Merged
hansegucker merged 2 commits from 154-my-students-students-lists-aren-t-sorted-alphabetically into master 2021-05-16 13:08:13 +02:00
Owner

Closes #154

Closes #154
Author
Owner

added 1 commit

  • c4063c1e - [My students] Sort students lists alphabetically

Compare with previous version

added 1 commit <ul><li>c4063c1e - [My students] Sort students lists alphabetically</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/181/diffs?diff_id=7774&start_sha=517b9a9e0c7423634c42f1b7e6e8a542bb3a2d1e)
Author
Owner

assigned to @nik and unassigned @hansegucker

assigned to @nik and unassigned @hansegucker
Author
Owner

marked this merge request as ready

marked this merge request as **ready**
Owner

This should be the default order_by in the Person model.

This should be the default `order_by` in the `Person` model.
Author
Owner

The default ordering is actually set, but not used.

The default ordering is actually set, but not used.
Owner

That bug should be solved, then.

That bug should be solved, then.
Author
Owner

marked this merge request as draft

marked this merge request as **draft**
Author
Owner

marked this merge request as ready

marked this merge request as **ready**
Author
Owner

added 10 commits

  • c4063c1e...98a35501 - 9 commits from branch master
  • 82b8bb3f - Merge branch 'master' into 154-my-students-students-lists-aren-t-sorted-alphabetically

Compare with previous version

added 10 commits <ul><li>c4063c1e...98a35501 - 9 commits from branch <code>master</code></li><li>82b8bb3f - Merge branch &#39;master&#39; into 154-my-students-students-lists-aren-t-sorted-alphabetically</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/181/diffs?diff_id=8406&start_sha=c4063c1ecb5257acdd259b1010f20ad96fc32720)
Owner

https://code.djangoproject.com/ticket/31687

It seems we need to keep the explicit ordering after joining to the subquery, as the subquery does not support ordering.

https://code.djangoproject.com/ticket/31687 It seems we need to keep the explicit ordering after joining to the subquery, as the subquery does not support ordering.
Owner

resolved all threads

resolved all threads
nik scheduled this pull request to auto merge when all checks succeed 2021-05-16 13:05:56 +02:00
nik merged commit b1dfae9e43 into master 2021-05-16 13:08:13 +02:00
Owner

mentioned in commit b1dfae9e43

mentioned in commit b1dfae9e431aa3fe740ffebcd1063493400953ed
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aleksis/AlekSIS-App-Alsijil!571
No description provided.