https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37391

--- Comment #1 from MichaƂ <[email protected]> ---
Created attachment 169080
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169080&action=edit
Bug 37391: make QR code for biblio record in OPAC use canonical link

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.

To test:
1. Visit biblio detail page in OPAC
2. Click the button to show QR code in the right pane (preference
'OPACDetailQRCode' must be enabled)
3. Notice that the QR code is much simpler/less complex now
4. Scan the QR code with your phone and confirm it's in the desired format of
<URL>/bib/123 and that it opens up properly

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to