projects
/
virtual-ldap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0fbb257
)
remove clever e-mail selection and use primary one
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 19 Dec 2019 14:43:26 +0000
(15:43 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 19 Dec 2019 14:43:26 +0000
(15:43 +0100)
sql/hreduperson.sql
patch
|
blob
|
history
diff --git
a/sql/hreduperson.sql
b/sql/hreduperson.sql
index
c40b846
..
b3cb5b3
100644
(file)
--- a/
sql/hreduperson.sql
+++ b/
sql/hreduperson.sql
@@
-15,12
+15,7
@@
select
b.borrowernumber as objectGUID,
surname as displayName,
a.attribute as pager,
- case
- when email regexp '@ffzg.hr' then email
- when emailpro regexp '@ffzg.hr' then emailpro
- else
- trim(userid)
- end as mail,
+ email as mail,
categorycode as memberOf,
categorycode as ou,
categorycode as department,