]> git.koha-community.org Git - koha.git/commit
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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 26 Sep 2022 13:49:03 +0000 (10:49 -0300)
commit2e0871fa1bfb6ca9999b050d48912baa5a8e0b5e
tree44404c55a83dbceb3722011862a2fa65a497ed0e
parent834c4a00cc1512e55a6fe94791b30fa28eebcdd6
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt