projects
/
working
/
NCIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24232a
)
Simplify NCIP::ILS::Evergreen->retrieve_org_unit_by_shortname().
author
Jason Stephenson
<jason@sigio.com>
Sat, 27 Sep 2014 13:58:08 +0000
(09:58 -0400)
committer
Jason Stephenson
<jason@sigio.com>
Sat, 27 Sep 2014 13:58:08 +0000
(09:58 -0400)
Use open-ils.actor.org_unit.retrieve_by_shortname instead of a
pcrud search.
Signed-off-by: Jason Stephenson <jason@sigio.com>
lib/NCIP/ILS/Evergreen.pm
patch
|
blob
|
history
diff --git
a/lib/NCIP/ILS/Evergreen.pm
b/lib/NCIP/ILS/Evergreen.pm
index
2c625ea
..
cc01396
100644
(file)
--- a/
lib/NCIP/ILS/Evergreen.pm
+++ b/
lib/NCIP/ILS/Evergreen.pm
@@
-1439,10
+1439,9
@@
sub retrieve_org_unit_by_shortname {
my $shortname = shift;
my $aou = $U->simplereq(
- 'open-ils.pcrud',
- 'open-ils.pcrud.search.aou',
- $self->{session}->{authtoken},
- {shortname => {'=' => {transform => 'lower', value => ['lower', $shortname]}}}
+ 'open-ils.actor',
+ 'open-ils.actor.org_unit.retrieve_by_shortname',
+ $shortname
);
return $aou;