return $e->retrieve_all_config_net_access_level();
}
-
+# Retain the old typo API name just in case
__PACKAGE__->register_method(
method => 'fetch_org_by_shortname',
api_name => 'open-ils.actor.org_unit.retrieve_by_shorname',
);
+__PACKAGE__->register_method(
+ method => 'fetch_org_by_shortname',
+ api_name => 'open-ils.actor.org_unit.retrieve_by_shortname',
+);
sub fetch_org_by_shortname {
my( $self, $conn, $sname ) = @_;
my $e = new_editor();
my $session = OpenSRF::AppSession->create("open-ils.actor");
my $org = $session->request(
- 'open-ils.actor.org_unit.retrieve_by_shorname',
+ 'open-ils.actor.org_unit.retrieve_by_shortname',
$shortname)->gather(1);
if($org) { $url .= "?ol=" . $org->id; }