django-cms / djangocms-versioning

General purpose versioning package for Django CMS 4 and above.
Other
33 stars 29 forks source link

fix: Compare versions' back button sometimes returns to invalid URL #413

Closed fsbraun closed 1 month ago

fsbraun commented 1 month ago

Description

"Compare versions" offers a back button. This typically returns to the edit or preview endpoint.

When editing a plugin and immediately afterwards clicking "Compare versions..." left the back button returning to an internal URL which only updates the toolbar.

This PR ensures that the correct toolbar request path is kept for the back button.

Related resources

Checklist