]> BookStack Code Mirror - bookstack/commit
Slugs: Rolled out history lookup to other types
authorDan Brown <redacted>
Mon, 24 Nov 2025 19:49:34 +0000 (19:49 +0000)
committerDan Brown <redacted>
Mon, 24 Nov 2025 19:49:34 +0000 (19:49 +0000)
commitc90816987c088e72a98f3ddb45d0cd6decff1b66
treec85fc2bfe3141ffc114d41b0339bb71ea02a2ea3
parentdd393691b17370f3967980b19daf95b206beac15
Slugs: Rolled out history lookup to other types

Added testing to cover.
Also added batch recording of child slug pairs on book slug changes.
app/Entities/Controllers/BookController.php
app/Entities/Controllers/BookshelfController.php
app/Entities/Controllers/ChapterController.php
app/Entities/Models/BookChild.php
app/Entities/Models/Entity.php
app/Entities/Tools/SlugHistory.php
app/Entities/Tools/TrashCan.php
tests/Entity/SlugTest.php