Non-core contributed modules

Podcast module needs to sort records when viewed

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.8.2
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    N/A
  • Database:
    Any
  • Affected Branches:
    MOODLE_18_STABLE

Description

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.

Activity

Hide
Ian Fairhurst added a comment -

So at the moment is this why the podcast activities are not loading the most recent at the top?

Also with Video podcasts is there a way to split the list in to pages i.e. 1-10, 11-20, ect as when the page is viewed from home my students are 'downloading" all the clips because they all load when you view the page.

Show
Ian Fairhurst added a comment - So at the moment is this why the podcast activities are not loading the most recent at the top? Also with Video podcasts is there a way to split the list in to pages i.e. 1-10, 11-20, ect as when the page is viewed from home my students are 'downloading" all the clips because they all load when you view the page.
Hide
Martin Dougiamas added a comment -

Shouldn't be assigned to me ... who is the podcast module author?

Show
Martin Dougiamas added a comment - Shouldn't be assigned to me ... who is the podcast module author?

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated: