Bug 24848: Improve manual links for the label creator
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 13 Mar 2020 17:40:38 +0000 (17:40 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 Apr 2020 19:50:16 +0000 (19:50 +0000)
commit798f176f2908ad7b53b6da6341c512a4398d6b86
tree1568a7eac664069e39e5e1f3dc0dfb8c025e068e
parent1df598be10f83c76038f14eb40a14882d6323fb4
Bug 24848: Improve manual links for the label creator

Some of the manual links in the label creator tool were
not working correctly or pointing to the wrong pages.

A problem is the label-manage.pl file. This can show
different data depending on an added parameter. Example:
/cgi-bin/koha/labels/label-manage.pl?label_element=template

But it appears that parameters will be ignored when creating
links to the manual. So this patch links to the beginning
of the label creator section in the manual for now.

To test:
- Go to the lable creator
- Try the various pages of the tool
  - Note: All 'New ...' links should point to the
    correct section in the manual (batches, templates, ...)
    Except: Barcode range. This feature is new and not
    yet documented in the manual. Link goes to label creator section.
  - Note: All 'Manage ...' links should point to the
    beginning of the 'label creator' section in the manual

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit cda91af335a163b9e1d12c2aac57ec46b24ddea4)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/Manual.pm