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

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 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 Apps - 2024 i1.2

    Description

      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.

      Attachments

        Activity

          People

            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

            Dates

              Created:
              Updated:

              Clockify

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