From 49652f570f887467528ca60880d9de1e4fa0075f Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 16 Sep 2022 11:42:17 +0100 Subject: [PATCH] Bug 31465: Correct help link for preferences This patch updates the mapping to reflect the split and rename of the preferences section of the manual. Test plan 1) Hitting 'Help' on any tab except for 'Local use' should lead you to the globalpreferences section of the manual for your Koha version. 2) Hitting 'Help' on the 'Local use' tab should take you directly to the 'localusepreferences' manual page. NOTE: I have now updated the manual build pipeline to remove renamed/deleted files so prior to this patch you should now see a 404 response when clicking Help from these pages. Before I made that change, we had the old file hanging around, so you actually got an outdated manual page disguised as a more recent version. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- Koha/Manual.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Manual.pm b/Koha/Manual.pm index 30a815545e..f1d012de14 100644 --- a/Koha/Manual.pm +++ b/Koha/Manual.pm @@ -89,10 +89,10 @@ our $mapping = { 'admin/oai_set_mappings' => '/administration.html#oai-sets-configuration', 'admin/oai_sets' => '/administration.html#oai-sets-configuration', 'admin/patron-attr-types' => '/administration.html#patron-attribute-types', - 'admin/preferences' => '/systempreferences.html', + 'admin/preferences' => '/globalpreferences.html', 'admin/smart-rules' => '/administration.html#circulation-and-fine-rules', 'admin/sms_providers' => '/administration.html#sms-cellular-providers', - 'admin/systempreferences' => '/systempreferences.html#local-use', + 'admin/systempreferences' => '/localusepreferences.html', 'admin/transport-cost-matrix' => '/administration.html#transport-cost-matrix', 'admin/z3950servers' => '/administration.html#z39.50/sru-servers', 'authorities/authorities-home' => '/cataloging.html#authorities', -- 2.39.5