https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37391 Bug ID: 37391 Summary: QR code for biblio record in OPAC should use canonical link Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: OPAC Assignee: schodkowy.omegi-0r@icloud.com Reporter: schodkowy.omegi-0r@icloud.com QA Contact: testopia@bugs.koha-community.org Depends on: 35812 In /opac-detail.pl page there's an option to show a QR code to open up said record on your phone or share it with others in such a way. Currently, it simply uses the current `location.href` of the browser. This isn't ideal, because such URL can be much longer, resulting in more complex/harder to scan QR code, plus URL parameters can contain extra junk, such as our previous search query that led us to current record, which we might not necessarily want to share. Thus, now having simple canonical URLs after the "Depends On" patch was merged in, we can replace these QR codes to link to them instead. Example old URL: https://koha.example.com/cgi-bin/koha/ opac-detail.pl?biblionumber=12345&query_desc=test Example new URL: https://koha.example.com/bib/12345 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35812 [Bug 35812] Should specify canonical URLs to help search indexers -- You are receiving this mail because: You are watching all bug changes.