Issue Details (XML | Word | Printable)

Key: CONTRIB-478
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Nobody
Reporter: Brian Gray
Votes: 1
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Non-core contributed modules

Podcast module needs to sort records when viewed

Created: 13/Sep/07 09:03 PM   Updated: 05/Jun/08 05:40 PM
Return to search
Component/s: Module: {none of the above}
Affects Version/s: 1.8.2
Fix Version/s: None

Environment: N/A

Database: Any
Participants: Brian Gray, Ian Fairhurst, Martin Dougiamas and Nobody
Security Level: None
Affected Branches: MOODLE_18_STABLE


 Description  « Hide
The Podcast module does not sort podcasts when displayed from view.php. When records are retrieved from the database (lib.php near line 448) the optional 4th argument to get_records() is not used to specify a sort field.

Additionally, in the database table podcast_structure, there is no field that stores the date and time of posting in a sortable format.

Ideally, I would like the sort order to be either by posting date and then by title, or by posting date and time.

I've hacked my installation to sort by name, and then added the date to the start of the title.


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
No commits have yet been performed on this issue.