Bug 27364

Summary: Making previous patron cardnumbers searchable
Product: Koha Reporter: Fiona Borthwick <fiona.borthwick>
Component: PatronsAssignee: Jake Deery <jake.deery>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, janet.mcgowan, kebliss, kyle, martin.renvoize, susan.murphy
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39452
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Fiona Borthwick 2021-01-08 11:04:49 UTC
Bug 18626 introduced the logging of changes to patron cardnumbers which is great, but this still does not link together previous cardnumbers.

Imagine this scenario:

A library patron loses their library card.
They are issued with a replacement.
Old and new cardnumbers are recorded in the Modification log.

The old card is found (doesn't matter who finds it) and brought to the library.
A member of library staff scan the barcode - get no results.

This means they are none the wiser as to who this card belonged to.

Would it not be a good idea to allow previous cardnumbers to be searchable?

Some libraries may record this information somewhere in the patron record, but a search by cardnumber would be extremely helpful. It would be useful if the cardnumber moved into a linked field automatically when a new cardnumber was entered.
Comment 1 susan.murphy 2025-12-12 14:11:15 UTC
We really don't want them searchable or usable BUT do want staff to be able to see them without giving staff access to the modification logs. Mostly for troubleshooting the eResources where patrons used their old card to set up their accounts and now they have a new card that doesn't recognize them. Hoopla is our biggest issue.