Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28509

YouTube repository search order

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.4, 2.1.1, 2.2
    • Fix Version/s: 2.0.5, 2.1.2
    • Component/s: Repositories
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      With the YouTube repository enabled, In the TinyMCE editor, click on the Moodle Media icon, then "Find or upload sound, video or applet". Select the YouTube repository. Perform a searches for a keyword sorted by each option. Perform the same search on http://www.youtube.com/results?search_type=videos and verify that they are sorted as expected.

      Show
      With the YouTube repository enabled, In the TinyMCE editor, click on the Moodle Media icon, then "Find or upload sound, video or applet". Select the YouTube repository. Perform a searches for a keyword sorted by each option. Perform the same search on http://www.youtube.com/results?search_type=videos and verify that they are sorted as expected.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
      git@github.com:dongsheng/moodle.git
    • Pull Master Branch:
      s13_MDL-28509_youtube_master

      Description

      When searching using the YouTube repository, the sorting is hard-coded to sort by Date Published. This is contrary to the default behaviour of YouTube which defaults to sorting by Relevance, and makes it harder to find relevant or particular videos when searching.
      I appreciate that there is a use case for sorting by Date Published (e.g. if you've just uploaded a video yourself and want to find it), but I think the user should be able to specify the sort order, and that it should default to Relevance like YouTube does.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11