-
Improvement
-
Resolution: Fixed
-
Minor
-
2.5
-
MOODLE_25_STABLE
-
MOODLE_27_STABLE
-
This API adjustment makes it possible for code to search/filter questions in the question bank by any criteria. It introduces a new "question_bank_search_condition" class.
Example usage includes plugins or future code finding questions based on tags, a text search, or finding questions of a certain type. Ie, show all true/false questions in a category, all questions tagged "PHP", or all questions which mention "SimpleTest".
For illustration, the category filter and the "show old questions" filter have been converted to question_bank_search_condition subclasses. A test subclass to find questions based on tags also exists using this API.
- caused a regression
-
MDL-46163 Question bank: Category selector renders as nested form (invalid html)
- Closed
- Discovered while testing
-
MDL-41035 Question bank: User preference for 'Show question text' does not entirely work
- Closed
-
MDL-43701 Strange alignment in 'categoryquestions' table.
- Closed
- duplicates
-
MDL-17876 Search base class and subclasses to manage searching of the question bank
- Closed
- has a non-specific relationship to
-
MDL-41978 Remove functions related to questionbank display
- Closed
- will help resolve
-
MDL-28308 Questions should be searchable/sortable by tags
- Closed
-
MDL-20630 Ability to Search in Questions
- Closed