[Koha-bugs] [Bug 26692] Add barcode image generator service for OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 22 00:59:08 CEST 2020


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

--- Comment #11 from David Cook <dcook at prosentient.com.au> ---
(In reply to Martin Renvoize from comment #10)
> (In reply to Martin Renvoize from comment #9)
> > Is the use case here so a patron can, for example, display their patron
> > barcode on their phone to use in a self-service machine?
> 
> If this is the case.. I'd love to see a link somewhere in the OPAC to the
> display ;).. I think that would mean this service was less obscure and
> possible to lose in the future if someone doesn't understand the use case
> behind it ;)

Ohhh that's interesting! I reckon it should just be rendered on opac-user.pl
without any added action. (In fact, when I look at my user account as a public
library patron, I see my barcode on my user account page.)

I would be tempted to generate the barcode and store it somewhere, so that
we're not re-generating the barcode for every patron for every page load.
Barcodes rarely change, so I don't see why we'd want to regenerate it
frequently. That being said, barcodes do change, and we have many different
ways of updating barcodes, so keeping consistency might be too difficult.

That said, I wonder if using a database or a time limited file-based cache
would actually be slower than just regenerating the barcode on each page
load...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list