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

(-)a/Koha/Patrons.pm (-2 / +1 lines)
Lines 141-147 sub search_patrons_to_anonymise { Link Here
141
            ( $library ? ( 'old_issues.branchcode' => $library ) : () ),
141
            ( $library ? ( 'old_issues.branchcode' => $library ) : () ),
142
        },
142
        },
143
        {   join     => ["old_issues"],
143
        {   join     => ["old_issues"],
144
            group_by => 'borrowernumber'
144
            distinct => 1,
145
        }
145
        }
146
    );
146
    );
147
    return Koha::Patrons->_new_from_dbic($rs);
147
    return Koha::Patrons->_new_from_dbic($rs);
148
- 

Return to bug 20182