]> git.koha-community.org Git - koha.git/commit
Bug 34891: Correct link on view restrictions button
authorOwen Leonard <oleonard@myacpl.org>
Fri, 22 Sep 2023 16:31:08 +0000 (16:31 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Oct 2023 13:44:07 +0000 (09:44 -0400)
commitca2fdda34281fb65c65c8cee0715868825794cd0
tree5e0b39437d80ed6c5639fd5e5de1e9519186baa8
parentb0b33b382c5254db2b4d78ee4d00f03d589513ca
Bug 34891: Correct link on view restrictions button

This patch updates the button which appears on the circulation page
when a patron is restricted. Before this patch, clicking the button
would activate the restrictions tab but wouldn't scroll the page to make
the tab visible.

To test, apply the patch and check out to a patron who has one or more
restrictions.

- There should be a message on the page, "Restricted since..."
- Click the "View restrictions" button.
- The page should jump down so that the tabs are visible and the
  restrictions tab should be active.
- Test on the patron details page too.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc