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

Reduce data fetched by message_search_users

XMLWordPrintable

      When searching for non-contacts the messaging API message_search_users method gets data for most of the user fields to check if the user is visible.

      A lot of the data fetched is not needed to check the visibility of the user and is then discarded unused.

      We should reduce the amount of data required to a minimum.

      Note this was originally planned for MDL-63983 but it was late to accept it there (near rolling), so was agreed to create this followup to close the circle.

            nmagill Neill Magill
            nmagill Neill Magill
            Sam Marshall Sam Marshall
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

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