[Koha-bugs] [Bug 28293] New: Wrong key used in Patrons::Import->generate_patron_attributes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 6 12:42:28 CEST 2021


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

            Bug ID: 28293
           Summary: Wrong key used in
                    Patrons::Import->generate_patron_attributes
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 20443

Caused by
  commit e37bfe3e4b395ef71a54c65226829248847cf1ce
  Bug 20443: Remove extended_attributes_code_value_arrayref AND
C4::Members::Attributes

       sort { $a->{code} cmp $b->{code} || $a->{value} cmp $b->{value} }        
       map {                                                                    
         my @arr = split /:/, $_, 2;                                            
         { code => $arr[0], attribute => $arr[1] } 

First line must be 
      sort { $a->{code} cmp $b->{code} || $a->{attribute} cmp $b->{attribute} }


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20443
[Bug 20443] Move C4::Members::Attributes to Koha namespace
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list