[Bug 43465] New: Patrons linked to sip accounts should have a badge
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 Bug ID: 43465 Summary: Patrons linked to sip accounts should have a badge Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: lisette@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com Target Milestone: --- Similar to the superlibrian badge. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com --- Comment #1 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- https://fontawesome.com/icons/classic/solid/cup-straw -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Patrons linked to sip |Patrons linked to SIP2 |accounts should have a |accounts should have a |badge |badge --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- +1 for the idea, but I think I am not sure about Nick's suggestion? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marion.durand@biblibre.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |andrew@bywatersolutions.com |ity.org | Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 --- Comment #3 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 212227 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212227&action=edit Bug 43465: Add a badge for patrons linked to SIP2 accounts This patch adds Koha::Patron->is_sip_account, which returns true when the patron's userid is used as the login_id of a SIP2 account, and uses it to show an up-down badge next to the patron's name in the staff interface, alongside the existing staff/superlibrarian/self-check badges. Test plan: 1. Go to Administration > SIP2 > Accounts and create (or edit) an account whose login is the userid of an existing patron 2. Open that patron in the staff interface (patron details or checkout) 3. Without the patch, there is no indication the patron is a SIP2 user 4. Apply the patch and reload 5. Note the new up-down icon next to the patron's name, with the hover text "SIP2 account patron" 6. View a patron not linked to a SIP2 account: no icon is shown 7. prove t/db_dependent/Koha/Patron.t Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |44212 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44212 [Bug 44212] Link to SIP patron in SIP account -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #212227|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 --- Comment #4 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 212323 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212323&action=edit Bug 43465: Add a badge for patrons linked to SIP2 accounts This patch adds Koha::Patron->is_sip_account, which returns true when the patron's userid is used as the login_id of a SIP2 account, and uses it to show an up-down badge next to the patron's name in the staff interface, alongside the existing staff/superlibrarian/self-check badges. Test plan: 1. Go to Administration > SIP2 > Accounts and create (or edit) an account whose login is the userid of an existing patron 2. Open that patron in the staff interface (patron details or checkout) 3. Without the patch, there is no indication the patron is a SIP2 user 4. Apply the patch and reload 5. Note the new up-down icon next to the patron's name, with the hover text "SIP2 account patron" 6. View a patron not linked to a SIP2 account: no icon is shown 7. prove t/db_dependent/Koha/Patron.t Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Barbara Johnson <Barbara.Johnson@bedfordtx.gov> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org