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

My Latest Badges block does not show all badges when set to display 'all' - display caps at 10 badges

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      To test:

      1) Have a user with more than 10 badges earned.

      2) Ensure that the 'My latest badges' block has been added to the default 'My home' page.

      3) Log in as the user, navigate to 'My home' and observe the number of badges displayed in the block. Default is 10.

      4) Update the block and change the number of badges displayed to 'All'.

      5) Verify that block now displays all badges (which should be more than 10).

      Show
      To test: 1) Have a user with more than 10 badges earned. 2) Ensure that the 'My latest badges' block has been added to the default 'My home' page. 3) Log in as the user, navigate to 'My home' and observe the number of badges displayed in the block. Default is 10. 4) Update the block and change the number of badges displayed to 'All'. 5) Verify that block now displays all badges (which should be more than 10).
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-46564_master

      Description

      When using the My Latest Badges block on a Moodle site, the block will be set to display 'all' latest badges by default, however this setting currently caps at displaying 10 badges.
      Changing the setting to the alternative maximum of '20' will allow 20 badges to display, but on a site with more than 20 badges there is currently no way to display all badges in the block.

      If the intended functionality of the block is just to display a number of the latest badges (not all of them), it may be worth removing the 'all' option entirely to prevent confusion.

      Steps to reproduce:

      1) Create 20+ badges in either a course or at the site level, for fast testing make the criteria 'manual issue by role' so you can manually award them.
      2) Award all available badges to a single user.
      3) Ensure that the 'My latest badges' block has been added to the default 'My home' page.
      4) Log in as the user, navigate to 'My home' and observe the number of badges displayed in the block. Update the block and change the number of badges displayed to '20' and then view again, you should see 20 badges. Return the setting to 'All' to verify the block still caps at 10 badges.

        Attachments

          Activity

            People

            Assignee:
            ybozhko Yuliya Bozhko
            Reporter:
            cbeer Cameron Beer
            Peer reviewer:
            Mark Nelson
            Integrator:
            Marina Glancy
            Tester:
            Ankit Agarwal
            Participants:
            Component watchers:
            Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Nov/14