Add questions from bank shoud have destination

Created on 7 June 2023, over 1 year ago
Updated 19 August 2024, 4 months 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

Closed: outdated

Version

6.0

Component

Code - Quiz core

Created by

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

Comments & Activities

Production build 0.71.5 2024