Bug 31635: Fix output of current title in OPAC browse results
authorOwen Leonard <oleonard@myacpl.org>
Tue, 4 Oct 2022 11:21:33 +0000 (11:21 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Oct 2022 12:09:39 +0000 (09:09 -0300)
commit744dd370ced6bc336be42baeb8038b8a1ca9d1c8
tree2f573731718862fbe3a62b2fdd15d509f1bd1af8
parent6017a91c8d59426f443245c8671eea8eabd4de44
Bug 31635: Fix output of current title in OPAC browse results

This patch makes a correction to the output of OPAC browse results. In
the numbered result navigation links, a title tag on each
navigation link should contain the title of the record. The link for the
current title didn't include the title information in the title tag
because it used the wrong template variables.

To test, apply the patch and make sure OpacBrowseResults is enabled.

- In OPAC, perform a search that will return multiple results.
- View one of the results.
- In the right-hand sidebar, click "Browse results."
- In the list of numbered links at the top of the panel, hover your
  mouse over each link. They should each display a tooltip with  "View
  record [title]"
- Confirm that the current title in the list includes the correct
  tooltip.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt