Moodle
  1. Moodle
  2. MDL-25768

Community finder: private hub are not displayed in the hub listing

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Hub
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      15519

      Description

      1. Register to a private hub
      2. Do a search in the community finder
      => the private hub is not listed in the hub listing

      the error is:
      blocks/community/forms.php:

      $hubs = $hubs + $additionalhubs;
      

      should be

      $hubs = array_merge($hubs, $additionalhubs);
      

      Fixed in MDL-25278, see github link in this issue.

        Issue Links

          Activity

          Hide
          Jérôme Mouneyrac added a comment -
          Show
          Jérôme Mouneyrac added a comment - dongsheng can you peer review this commit: https://github.com/mouneyrac/moodle/commit/6a658c9173a55bde66a410ee3dd78879e0202ac4
          Hide
          Dongsheng Cai added a comment -

          peer review:

          +1 good to go

          Show
          Dongsheng Cai added a comment - peer review: +1 good to go

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: