-
Sub-task
-
Resolution: Fixed
-
Blocker
-
2.3
-
None
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
MDL-33330-files-reference -
As the field is a text field it is not indexable. Eloy suggests this will not perform well. It looks like it probably gets used on every display of files.
And indeed I had to convert searches for this field to:
$DB->sql_compare_text('r.reference').' = '.$DB->sql_compare_text('?')
So this issue is here because for performances sake we might need to add a hash for this to allow fast selects.