View | Details | Raw Unified | Return to bug 26352
Collapse All | Expand All

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 112-118 Autogenerate next cardnumber from highest value found in database Link Here
112
sub fixup_cardnumber {
112
sub fixup_cardnumber {
113
    my ( $self ) = @_;
113
    my ( $self ) = @_;
114
114
115
    my ( $max ) = Koha::Plugins->call( 'barcode_generate', 'patron', $self );
115
    my ( $max ) = Koha::Plugins->call( 'patron_barcode_transform', $self ) || undef;
116
116
117
    $max ||= Koha::Patrons->search({
117
    $max ||= Koha::Patrons->search({
118
        cardnumber => {-regexp => '^-?[0-9]+$'}
118
        cardnumber => {-regexp => '^-?[0-9]+$'}
119
- 

Return to bug 26352