Bug 39467 - Fix patron "View restrictions" link in messages
Summary: Fix patron "View restrictions" link in messages
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: David Gustafsson
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-27 12:11 UTC by David Gustafsson
Modified: 2025-03-27 12:17 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 39467: Fix patron "View restrictions" link in messages (1.70 KB, patch)
2025-03-27 12:17 UTC, David Gustafsson
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description David Gustafsson 2025-03-27 12:11:38 UTC
The "View restrictions" link in patron messages does not currently work. Here is a patch to fix this.
Comment 1 David Gustafsson 2025-03-27 12:17:16 UTC
Created attachment 179768 [details] [review]
Bug 39467: Fix patron "View restrictions" link in messages

Currently nothing happens when clicking the "View restrictions" link
in patron messages. Using the bootstrap api to open it resolves the
issue.

To test:
1) Go to a patrons details page, click "Restrictions" and add amanual
   restriction.
2) A message with a "View restrictions" link should appear.
3) Clicking this link does not open the "Restrictions" tab as it should.
4) Apply patch
5) Now this "View restrictions" link should open the "Restrictions" tab

Sponsored-by: Gothenburg University Library