Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Alsijil
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Alsijil
Merge requests
!209
Prepare release 2.0rc2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Prepare release 2.0rc2
prepare-release-2.0rc2
into
release/2.0
Overview
0
Commits
4
Pipelines
1
Changes
4
Merged
Jonathan Weth
requested to merge
prepare-release-2.0rc2
into
release/2.0
3 years ago
Overview
0
Commits
4
Pipelines
1
Changes
4
Expand
0
0
Merge request reports
Compare
release/2.0
release/2.0 (base)
and
latest version
latest version
24bb564a
4 commits,
3 years ago
4 files
+
22
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
aleksis/apps/alsijil/util/alsijil_helpers.py
+
5
−
0
Options
@@ -336,6 +336,11 @@ def generate_list_of_all_register_objects(filter_dict: Dict[str, Any]) -> List[D
# Always force a value for school term, start and end date so that queries won't get too big
initial_filter_data
=
FilterRegisterObjectForm
.
get_initial
()
filter_dict
[
"
school_term
"
]
=
filter_dict
.
get
(
"
school_term
"
,
initial_filter_data
[
"
school_term
"
])
# If there is not school year at all, there are definitely no data.
if
not
filter_dict
[
"
school_term
"
]:
return
[]
filter_dict
[
"
date_start
"
]
=
filter_dict
.
get
(
"
date_start
"
,
initial_filter_data
[
"
date_start
"
])
filter_dict
[
"
date_end
"
]
=
filter_dict
.
get
(
"
date_end
"
,
initial_filter_data
[
"
date_end
"
])
filter_dict
[
"
filter_date
"
]
=
bool
(
filter_dict
.
get
(
"
date_start
"
))
and
bool
(
Loading