Bug 38152

Summary: Add "copy to clipboard" feature to barcodes in detail pages
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: angela.berrett, dcook, esther.melander, gmcharlt, magnus
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2024-10-11 08:39:11 UTC
Often we need to copy barcodes for demos or when testing, but coyping the link is hard and not always works well. It would be nice if we offered an option to copy the barcode to the clipboard, maybe using a little icon or similar that could be added later in other places as well.
Comment 1 Magnus Enger 2024-10-11 13:21:15 UTC
A Swedish library has documented how they add this (and a couple of other buttons) via IntranetUserJS:

https://koha.se/wiki/Bibliotek_Mellansj%C3%B6s_IntranetUserJS#Katalog_.2F_Knappar
Comment 2 Angela Berrett 2024-10-14 16:58:44 UTC
+1
Comment 3 David Cook 2024-10-15 23:31:57 UTC
This is a neat idea.

There are also other parts of Koha like the label creator and batch item modification that ask you to paste in barcodes, so I could see this feature being used to make it easier to do those things too potentially.