From c688be33a3a7a190f545e76f9283701e2c8be21d Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Fri, 27 Feb 2026 09:38:36 +0700 Subject: [PATCH] NOBUG: Add upgrade notes --- UPGRADING.md | 10 ++++++++++ public/question/UPGRADING.md | 8 ++++++++ 2 files changed, 18 insertions(+) diff --git a/UPGRADING.md b/UPGRADING.md index d83d0e114bc..ef13f652e8f 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -6,6 +6,16 @@ More detailed information on key changes can be found in the [Developer update n The format of this change log follows the advice given at [Keep a CHANGELOG](https://keepachangelog.com). +## 5.1.3+ + +### core_question + +#### Added + +- During restore of a question_set_reference, mapping of IDs in the filtercondition is now delegated to qbank plugins. If your qbank plugin defines a filter condition that uses database IDs, add an override of `restore_filtercondition()` to the `condition` class, which checks the condition's data and replaces the IDs with mapped values if required. See `qbank_managecategories\category_condition` for an example. + + For more information see [MDL-86524](https://tracker.moodle.org/browse/MDL-86524) + ## 5.1.2 ### core diff --git a/public/question/UPGRADING.md b/public/question/UPGRADING.md index bf56c4a2a4e..e66ff35073a 100644 --- a/public/question/UPGRADING.md +++ b/public/question/UPGRADING.md @@ -1,5 +1,13 @@ # core_question (subsystem) Upgrade notes +## 5.1.3+ + +### Added + +- During restore of a question_set_reference, mapping of IDs in the filtercondition is now delegated to qbank plugins. If your qbank plugin defines a filter condition that uses database IDs, add an override of `restore_filtercondition()` to the `condition` class, which checks the condition's data and replaces the IDs with mapped values if required. See `qbank_managecategories\category_condition` for an example. + + For more information see [MDL-86524](https://tracker.moodle.org/browse/MDL-86524) + ## 5.1.2 ### Fixed