From 9815279a598e7997a4bff907beae0f1da4ebc2f5 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 22 Dec 2011 17:42:03 -0500 Subject: [PATCH] Resolver: Fix method signature for deleting cache entries The order of arguments was incorrect and also contained an unnecessary entry for the open-ils.resolver.delete_cached_holdings method signature. Signed-off-by: Dan Scott Signed-off-by: Art --- .../lib/OpenILS/Application/ResolverResolver.pm | 16 ++++++---------- .../src/templates/opac/parts/record/summary.tt2 | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm index 81d1662916..2a276dca99 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm @@ -477,22 +477,18 @@ __PACKAGE__->register_method( Deletes the cached value of the full-text holdings for a given ISBN or ISSN DESC 'params' => [ { + name => 'url_base', + desc => 'The base URL for the resolver and instance', + type => 'string' + }, { name => 'id_type', desc => 'The type of identifier ("issn" or "isbn")', - type => 'string' + type => 'string' }, { name => 'id_value', desc => 'The identifier value', type => 'string' - }, { - name => 'url_base', - desc => 'The base URL for the resolver and instance', - type => 'string' - }, { - name => 'request_timeout', - desc => 'The timeout for the HTTP request', - type => 'string' - }, + } ], 'return' => { desc => 'Deletes the cached value of the full-text holdings for a given ISBN or ISSN', diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2 index 51798fb053..f0817476e4 100644 --- a/Open-ILS/src/templates/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2 @@ -52,7 +52,7 @@ [%- IF openurl.enabled == 'true'; - openurls = [] + openurls = []; FOREACH issn IN args.issns; NEXT IF issn == ''; openurls = openurls.import(ResolverResolver.resolve_issn(issn, openurl.baseurl)); -- 2.43.2