Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-block_course_overview_uwmoodle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uw-moodle
moodle-block_course_overview_uwmoodle
Commits
7fa28f62
Commit
7fa28f62
authored
11 years ago
by
Matt Petro
Browse files
Options
Downloads
Patches
Plain Diff
UWMOODLE-306 block course_overview_uwmoodle : Sort term menu
parent
1ef04a71
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
renderer.php
+1
-0
1 addition, 0 deletions
renderer.php
with
1 addition
and
0 deletions
renderer.php
+
1
−
0
View file @
7fa28f62
...
@@ -87,6 +87,7 @@ class block_course_overview_uwmoodle_renderer extends plugin_renderer_base {
...
@@ -87,6 +87,7 @@ class block_course_overview_uwmoodle_renderer extends plugin_renderer_base {
}
}
$options
[
$termcode
]
=
block_course_overview_uwmoodle_get_term_name
(
$termcode
);
$options
[
$termcode
]
=
block_course_overview_uwmoodle_get_term_name
(
$termcode
);
}
}
ksort
(
$options
,
SORT_NUMERIC
);
$url
=
new
moodle_url
(
'/my/index.php'
);
$url
=
new
moodle_url
(
'/my/index.php'
);
$select
=
new
single_select
(
$url
,
'term'
,
$options
,
$selectedterm
,
array
());
$select
=
new
single_select
(
$url
,
'term'
,
$options
,
$selectedterm
,
array
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment