Random questions not respecting Tag filter

Random questions not respecting Tag filter

ដោយ heli g នៅ
ចំនួនតប៖ 5

Moodle 3.5 - In the last week 2 Teachers have reported that filtering random questions by Tag is not working reliably. Both have used Tags to filter random questions successfully in the past.

Does anyone have any ideas about how to go about investigating and hopefully resolving this? I have been unable to reproduce.

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ heli g

Re: Random questions not respecting Tag filter

ដោយ Tim Hunt នៅ
រូបភាព Core developers រូបភាព Documentation writers រូបភាព Particularly helpful Moodlers រូបភាព Peer reviewers រូបភាព Plugin developers
I don't konw why it would suddenly stop working.

Being able to reproduce is normally the first step in investigating any issue, but you are already doing that - or trying to.
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ heli g

Re: Random questions not respecting Tag filter

ដោយ Serge Charlebois នៅ
Hi, I also experience an issue the "add new random question" interface which does not update when selecting a tag.
Was working fine a few days ago. I'm not aware of an version update.
A workaround is to select/deselect the "include sub-categories" button which triggers a refresh of the list.

Also, note this bug: https://tracker.moodle.org/browse/MDL-65041#
មធ្យមភាគនៃរង្វាយតម្លៃ:Useful (3)
ឆ្លើយតបទៅកាន់ Serge Charlebois

Re: Random questions not respecting Tag filter

ដោយ Joseph Rézeau នៅ
រូបភាព Core developers រូបភាព Particularly helpful Moodlers រូបភាព Plugin developers រូបភាព Testers រូបភាព Translators
I notice same issue in Moodle 3.9.2 (Build: 20200914). The workaround suggested by Serge does work, viz. "select/deselect the "include sub-categories" button which triggers a refresh of the list".
The problem appears because upon tag selection/de-selection the list of available questions is not refreshed.
It also does not make sense that the "Number of random questions" available can be greater than the number of questions matching the current filter! That number should be refreshed when the filter is changed and the number available should be restricted accordingly.
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Joseph Rézeau

Re: Random questions not respecting Tag filter

ដោយ Tim Hunt នៅ
រូបភាព Core developers រូបភាព Documentation writers រូបភាព Particularly helpful Moodlers រូបភាព Peer reviewers រូបភាព Plugin developers
It should. Minor bug. Please log in the tracker.
មធ្យមភាគនៃរង្វាយតម្លៃ: -