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

Better way to select user when millions of user are in the database

XMLWordPrintable

    • MOODLE_22_STABLE, MOODLE_38_STABLE
    • Hide
      1. Login as admin
      2. Create two new users
        1. Barbara Broccoli
        2. Charlie Cheese
      3. Navigate to Plugins > Web services > Manage tokens in Site administration
      4. Press Add
      5. In the User autocomplete field enter "Charlie"
      6. Click on Charlie Cheese
      7. Press Save changes
      8. Confirm new token is issued to selected user
      Show
      Login as admin Create two new users Barbara Broccoli Charlie Cheese Navigate to Plugins > Web services > Manage tokens in Site administration Press Add In the User autocomplete field enter "Charlie" Click on Charlie Cheese Press Save changes Confirm new token is issued to selected user

      For Administration > Plugins > Web services > Manage token > Add, we implemented a username/userid text box when the user total > 500. It's because a select box reach out of memory.

      I suggest to get an autocompletion text box a la Facebook. I created this one (you can see it when adding a token):
      https://github.com/mouneyrac/moodle/tree/wip-MDL-30140

      It needs small refactoring to have a generic version, testing, and overwritting the no-javascript work.

            mudrd8mz David Mudrák (@mudrd8mz)
            jerome Jérôme Mouneyrac
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h

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