Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4524

Avoid calling the WS core_search_get_search_areas_list after login

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • 4.4.0
    • 4.3.0
    • Forum add-on
    • Hide

      The search forums side block should continue to work properly, and not be displayed when global search or forum search areas are disabled.

      Show
      The search forums side block should continue to work properly, and not be displayed when global search or forum search areas are disabled.
    • MOODLE_403_STABLE
    • MOODLE_404_STABLE
    • Moodle Apps - 2024 i1.2

      Avoid calling the WS core_search_get_search_areas_list after login. This is done by AddonBlockSearchForumsHandlerService.

      Instead of calling it in isEnabled, we could create a component for the block (instead of using CoreBlockOnlyTitleComponent) and check in there if the block needs to be rendered or not.

      Another alternative is to create a new callback in the delegate/handler to check this before rendering the block.

            noeldemartin Noel De Martin
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.