]> 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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Tue, 15 Nov 2022 17:04:56 +0000 (18:04 +0100)
commitd1e15b9fdd89e4e6920a6b251347aff97a757402
treee25410a9a6b8bae14a775dd19922234a35d53a18
parentfabb30b2224198809a3fbe7967a787c429a91d0f
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>
(cherry picked from commit 7ded1e3f8fc1d1cf3e1116cfbcb17de6583c25d2)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt