]> BookStack Code Mirror - bookstack/commit
Fixed page editor back button sometimes going nowhere
authorDan Brown <redacted>
Mon, 15 Nov 2021 11:17:27 +0000 (11:17 +0000)
committerDan Brown <redacted>
Mon, 15 Nov 2021 11:19:03 +0000 (11:19 +0000)
commitb546098b365b611b34c004e120c543efb9311d2e
treed47494293f2bc402e097db9819f46f56737c61bd
parent88e6f93abf54192a69cc8080e0dc6516ee68ccbb
Fixed page editor back button sometimes going nowhere

Updated the back button to be a proper link instead of a reference to
the last viewed URL since it could break if the last page was the
current one (On validation for example).

Includes test to cover.
Also applied some styleCI changes.

Fixes #2834
app/Http/Controllers/Api/SearchApiController.php
app/Http/Controllers/AttachmentController.php
resources/views/pages/parts/form.blade.php
tests/Entity/PageEditorTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.