Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List presentations in reverse chronological order #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pauln
Copy link
Contributor

@pauln pauln commented May 24, 2016

When selecting an Echo, it's likely that you'll be selecting a recent Echo (often the most recent one); displaying the most recent presentation first reduces the amount of scrolling required to find it, especially in sections containing many presentations.

The second commit makes this function more readable by making the indentation consistent (and conform to Moodle coding style); the rest of locallib.php could do with similar treatment, but I've only fixed the indentation in the function I was already working on for now (similar to PR #25).

pauln added 2 commits May 25, 2016 10:10
When selecting an Echo, it's likely that you'll be selecting a recent Echo
(often the most recent one); displaying the most recent presentation first
reduces the amount of scrolling required to find it, especially in
sections containing many presentations.
…tions

The indentation in the echolink_ess_get_rest_section_presentations
function was inconsistent (a mix of tabs and spaces, as well as different
amounts of indentation on different lines), which made it hard to read.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant