X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=blobdiff_plain;f=lib%2FLDAP%2FKoha.pm;fp=lib%2FLDAP%2FKoha.pm;h=5193fc3797eeb0e194784694230935e892a1e6fc;hp=4e32a02bbee1f5a1af10738fd493c2344a6c67fa;hb=7d518276a9432fc210d9400de6695ebab8d9e5b4;hpb=de4af466676c72f0c57d1c3dab83a8ef07c92cda diff --git a/lib/LDAP/Koha.pm b/lib/LDAP/Koha.pm index 4e32a02..5193fc3 100644 --- a/lib/LDAP/Koha.pm +++ b/lib/LDAP/Koha.pm @@ -46,7 +46,7 @@ my $ldap_sql_mapping = { 'objectGUID' => 'b.borrowernumber', 'displayName' => 'surname', 'sn' => 'surname', - 'pager' => 'a.attribute', # was: rfid_sid + 'pager' => qq{replace(a.attribute, '\r\n','')}, # was: rfid_sid }; sub __sql_column {