Bug 31527: Breadcrumbs for anonymous suggestions are not correct
authorOwen Leonard <oleonard@myacpl.org>
Thu, 22 Sep 2022 16:41:12 +0000 (16:41 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 1 Nov 2022 22:22:02 +0000 (22:22 +0000)
commit7ded1e3f8fc1d1cf3e1116cfbcb17de6583c25d2
tree9220488bcf8ea940702cc973ec143e4c90ce3609
parent8fead08cedd8eb56601f5be66c8f9056966759bd
Bug 31527: Breadcrumbs for anonymous suggestions are not correct

This patch updates the OPAC suggestions template in order to
omit the patron name breadcrumb if there is not a logged-in
user.

To test, apply the patch and view the OPAC suggestions page
with the AnonSuggestions preference both enabled and disabled.

- If you are logged in, the page breadcrumbs will be:
  Home -> [Your name] -> Purchase suggestions.
- If you are not logged in it should be:
  Home -> Purchase suggestions

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2e0871fa1bfb6ca9999b050d48912baa5a8e0b5e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt