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
hansegucker commented 2021-04-29 20:07:51 +02:00 (Migrated from edugit.org)

Closes #154

Closes #154
hansegucker commented 2021-04-29 20:12:31 +02:00 (Migrated from edugit.org)

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)
hansegucker commented 2021-04-29 20:12:47 +02:00 (Migrated from edugit.org)

assigned to @nik and unassigned @hansegucker

assigned to @nik and unassigned @hansegucker
hansegucker commented 2021-04-29 20:13:02 +02:00 (Migrated from edugit.org)

marked this merge request as ready

marked this merge request as **ready**
nik commented 2021-04-29 21:44:39 +02:00 (Migrated from edugit.org)

This should be the default order_by in the Person model.

This should be the default `order_by` in the `Person` model.
hansegucker commented 2021-04-29 21:46:27 +02:00 (Migrated from edugit.org)

The default ordering is actually set, but not used.

The default ordering is actually set, but not used.
nik commented 2021-04-29 21:48:37 +02:00 (Migrated from edugit.org)

That bug should be solved, then.

That bug should be solved, then.
hansegucker commented 2021-04-30 16:11:41 +02:00 (Migrated from edugit.org)

marked this merge request as draft

marked this merge request as **draft**
hansegucker commented 2021-05-16 13:01:37 +02:00 (Migrated from edugit.org)

marked this merge request as ready

marked this merge request as **ready**
hansegucker commented 2021-05-16 13:02:06 +02:00 (Migrated from edugit.org)

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)
nik commented 2021-05-16 13:05:52 +02:00 (Migrated from edugit.org)

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.
nik commented 2021-05-16 13:05:52 +02:00 (Migrated from edugit.org)

resolved all threads

resolved all threads
nik (Migrated from edugit.org) scheduled this pull request to auto merge when all checks succeed 2021-05-16 13:05:56 +02:00
nik (Migrated from edugit.org) merged commit b1dfae9e43 into master 2021-05-16 13:08:13 +02:00
nik commented 2021-05-16 13:08:18 +02:00 (Migrated from edugit.org)

mentioned in commit b1dfae9e43

mentioned in commit b1dfae9e431aa3fe740ffebcd1063493400953ed
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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.