Barcodes should be case insensitive
Bug #1869896 reported by
Benjamin Kalish
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Wishlist
|
Unassigned |
Bug Description
It would save some time and trouble at many libraries if barcodes were case insensitive.
This should, of course, be controlled by a setting, so as not to break any systems which actually have barcodes that differ only in capitalization. But I suspect that isn't many systems.
Changed in evergreen: | |
importance: | Undecided → Wishlist |
tags: | added: orgunitsettings |
To post a comment you must log in.
Here's a query that will identify patron barcodes that are duplicates, except for case.
select a.usr, a.id, a.barcode, b.usr, b.id, b.barcode
from actor.card a
join actor.card b
on lower(a.barcode) = lower(b.barcode)
We have over a hundred of these. Several belong to the same user.
And, here's one for copy barcodes:
select a.id, a.barcode, b.id, b.barcode
from asset.copy a
join asset.copy b
on lower(a.barcode) = lower(b.barcode)
and b.id > a.id
and not a.deleted and not b.deleted;
We have even more of these, over 600 rows returned.
and a.id < b.id;