Bug 31465: Correct help link for preferences
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 16 Sep 2022 10:42:17 +0000 (11:42 +0100)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Tue, 15 Nov 2022 17:08:43 +0000 (18:08 +0100)
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 <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 49652f570f887467528ca60880d9de1e4fa0075f)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 2efd39fbda2ac2ff03e216df48398479c2d53985)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Koha/Manual.pm

index 30a8155..f1d012d 100644 (file)
@@ -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',