[Bug 23648] New: The logged in link (class "loggedinusername") needs data-patroncode
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 Bug ID: 23648 Summary: The logged in link (class "loggedinusername") needs data-patroncode Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: cbrannon@cdalibrary.org QA Contact: testopia@bugs.koha-community.org Would be helpful to add the patron code in a data-patroncode field. Particularly, this would be helpful wiht the opac-restrictedpage.pl, where we need to limit patron types to this page. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 Barbara Johnson <barbara.johnson@bedfordtx.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barbara.johnson@bedfordtx.g | |ov -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 Barbara Johnson <barbara.johnson@bedfordtx.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|barbara.johnson@bedfordtx.g | |ov | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Summary|The logged in link (class |The logged in link (class |"loggedinusername") needs |"loggedinusername") needs |data-patroncode |data-patroncategory --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Slightly changing the title - I think code means 'patron category code'? :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 --- Comment #2 from Christopher Brannon <cbrannon@cdalibrary.org> --- (In reply to Katrin Fischer from comment #1)
Slightly changing the title - I think code means 'patron category code'? :)
Yes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 --- Comment #3 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 93152 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93152&action=edit Bug 23648: The logged in link (class "loggedinusername") needs data-patroncategory This patch adds a "data-categorycode" attribte to the logged in link in the global header of the OPAC. This will allow access to the patron category for use in customization and whatnot. To test, apply the patch and log in to the OPAC. Use the browser's DOM inspector tool to examine the logged-in user's name in the header. It should have a "data-categorycode" attribute with the correct value. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #93152|0 |1 is obsolete| | --- Comment #4 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 93158 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93158&action=edit Bug 23648: The logged in link (class "loggedinusername") needs data-patroncategory This patch adds a "data-categorycode" attribte to the logged in link in the global header of the OPAC. This will allow access to the patron category for use in customization and whatnot. To test, apply the patch and log in to the OPAC. Use the browser's DOM inspector tool to examine the logged-in user's name in the header. It should have a "data-categorycode" attribute with the correct value. Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 Christopher Brannon <cbrannon@cdalibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #5 from Christopher Brannon <cbrannon@cdalibrary.org> --- Works as described. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #93158|0 |1 is obsolete| | --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 93252 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93252&action=edit Bug 23648: The logged in link (class "loggedinusername") needs data-patroncategory This patch adds a "data-categorycode" attribte to the logged in link in the global header of the OPAC. This will allow access to the patron category for use in customization and whatnot. To test, apply the patch and log in to the OPAC. Use the browser's DOM inspector tool to examine the logged-in user's name in the header. It should have a "data-categorycode" attribute with the correct value. Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master Version(s)| |19.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 --- Comment #7 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Nice work! Pushed to master for 19.11.00 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23648 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com Severity|enhancement |normal -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org