Add questions from bank shoud have destination

Created on 7 June 2023, about 1 year ago
Updated 13 June 2023, about 1 year ago

Problem/Motivation

When adding a existing question with "Add questions from bank" the submission does not redirect anywhere. If the user goes back, an ajax error appears:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /en/batch?id=945&op=do_nojs&op=do
StatusText: OK

Proposed resolution

I think an easy solution for this problem is to add a "?destination=" to the href of the "Add questions from bank" button.

EDIT:
I was not able to do that. I don't think it's possible. I modified the action in charge of adding the questions so after adding them it will redirect.

✨ Feature request
Status

Needs review

Version

6.0

Component

Code - Quiz core

Created by

πŸ‡ͺπŸ‡ΈSpain alejico

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024