Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential performance issue #39

Open
volodymyrdovhan opened this issue Dec 4, 2024 · 0 comments
Open

Potential performance issue #39

volodymyrdovhan opened this issue Dec 4, 2024 · 0 comments

Comments

@volodymyrdovhan
Copy link

Hello,
some production systems may have thousands of courses. We need to work with data carefully and select courses with limits.

Consider:

  1. Using Recordsets
    https://moodledev.io/docs/4.5/apis/core/dml#using-recordsets

  2. Replace select with autocompletion element and AJAX call to filter and return courses:
    https://docs.moodle.org/dev/lib/formslib.php_Form_Definition#autocomplete

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant