From 5381742c1a7787adcd3ee0ecc91a7edb40805564 Mon Sep 17 00:00:00 2001
From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Date: Tue, 5 Dec 2023 09:51:48 -0500
Subject: [PATCH] Bug 35463: More preservation manual links

This patch adds some missing links from the preservation module to the manual.

To test:
1. Go to Preservation > Trains
2. Click on a train name
   --> You are brought to the Show train section of the Preservation chapter of the manual
3. Click Edit next to an item
   --> You are brought to the Add items section of the Preservation chapter of the manual (there is no section specific to editing items, but the form to edit is the same as the form to add)
4. Go back to the trains list, and click the Edit button next to one of the trains
   --> You are brought to the Trains section of the Preservation chapter of the manual (there is no section specific to editing trains yet)

Signed-off-by: Philip Orr <philip.orr@lmscloud.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
---
 Koha/Manual.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Koha/Manual.pm b/Koha/Manual.pm
index 9c33f4a5045..e51028466e2 100644
--- a/Koha/Manual.pm
+++ b/Koha/Manual.pm
@@ -240,9 +240,11 @@ our $mapping = {
     'preservation/settings'                    => '/preservation.html#settings',
     'preservation/settings/'                   => '/preservation.html#settings',
     'preservation/trains'                      => '/preservation.html#trains',
-    'preservation/trains/'                     => '/preservation.html#trains',
+    'preservation/trains/'                     => '/preservation.html#show-train',
     'preservation/trains/add'                  => '/preservation.html#new-train',
+    'preservation/trains/edit/'                => '/preservation.html#trains',
     'preservation/trains//items/add'           => '/preservation.html#add-items',
+    'preservation/trains//items/edit/'         => '/preservation.html#add-items',
     'preservation/waiting-list'                => '/preservation.html#waiting-list',
     'reports/acquisitions_stats'               => '/reports.html#acquisitions-statistics',
     'reports/bor_issues_top'                   => '/reports.html#patrons-with-the-most-checkouts',
-- 
2.43.0