cms
cms copied to clipboard
Misleading link to submission detail's page in AWS when using multiple datasets
When a task has more than one dataset, the list of submissions available at /dataset/<dataset_id> is misleading because clicking on the timestamp (first column of the table) of a submission brings the admin to the URL /submission/<submission_id> which has now lost the information on the dataset ID that the admin is interested in. This causes to show the submission details related to the live dataset, not the one that was being inspected.
The easiest solution would be to change the URL schema of submission details pages from:
/submission/<submission_id>
to:
/dataset/<dataset_id>/submission/<submission_id>
Maybe keeping a redirect from the old URL to the new (by using whatever ID is the live dataset on).