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

(-)a/Koha/Patrons.pm (-2 / +1 lines)
Lines 162-168 sub search_patrons_to_anonymise { Link Here
162
            ( $library ? ( 'old_issues.branchcode' => $library ) : () ),
162
            ( $library ? ( 'old_issues.branchcode' => $library ) : () ),
163
        },
163
        },
164
        {   join     => ["old_issues"],
164
        {   join     => ["old_issues"],
165
            group_by => 'borrowernumber'
165
            distinct => 1,
166
        }
166
        }
167
    );
167
    );
168
    return Koha::Patrons->_new_from_dbic($rs);
168
    return Koha::Patrons->_new_from_dbic($rs);
169
- 

Return to bug 20182