remotelearner / elis.reporting

4 stars 3 forks source link

Addition of autocomplete search not working in ELIS 2.2.0.12 for two reports #1

Closed mrscottelliott closed 11 years ago

mrscottelliott commented 11 years ago

Looks like the autocomplete search is not working in ELIS2.2.0.12 for the following reports:

Individual Course Progress Report Individual User Report

Here's the error message:

"No valid search_fields option received when constructing autocomplete filter"

Here's a debug trace: Debug info: error() is a deprecated function, please call print_error() instead of error() Stack trace:

line 831 of /lib/deprecatedlib.php: moodle_exception thrown
line 40 of /elis/core/lib/filtering/autocomplete.php: call to error()
line 112 of /elis/core/lib/filtering/autocomplete_base.php: call to generalized_filter_autocomplete->load_options()
line 98 of /elis/core/lib/filtering/lib.php: call to generalized_filter_autocomplete_base->__construct()
line 71 of /elis/core/lib/filtering/lib.php: call to generalized_filtering->get_field()
line 546 of /blocks/php_report/lib/filtering.php: call to generalized_filtering->generalized_filtering()
line 71 of /blocks/php_report/config_params.php: call to php_report_default_capable_filtering->php_report_default_capable_filtering()
line 902 of /blocks/php_report/php_report_base.php: call to include()
line 1238 of /blocks/php_report/type/table_report.class.php: call to php_report->display_header()
line 108 of /blocks/php_report/lib/reportpage.class.php: call to table_report->main()
line ? of unknownfile: call to report_page->display_default()
line 357 of /elis/core/lib/page.class.php: call to call_user_func()
line 313 of /elis/core/lib/page.class.php: call to elis_page->display()
line 36 of /blocks/php_report/render_report_page.php: call to elis_page->run()

ELIS - 2.2.0.12 (Build 20121118) Moodle - 2.2.6+ (Build 20121123)

Scott

jfilip commented 11 years ago

Hi Scott,

Thanks for the report. We just fixed this bug in the 2.2.0.13 release of ELIS. The code for that should be hitting out Github repositories within the next day or two.

mrscottelliott commented 11 years ago

Awesome! Thanks for the quick update :-)

remotelearner commented 11 years ago

Hi Scott,

The new code is now available in our Github repositories.