Resolver: Fix method signature for deleting cache entries
authorDan Scott <dscott@laurentian.ca>
Thu, 22 Dec 2011 22:42:03 +0000 (17:42 -0500)
committerArt <artrhyno@uwindsor.ca>
Thu, 5 Jan 2012 15:25:43 +0000 (10:25 -0500)
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 <dscott@laurentian.ca>
Signed-off-by: Art <artrhyno@uwindsor.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/ResolverResolver.pm
Open-ILS/src/templates/opac/parts/record/summary.tt2

index 81d1662..2a276dc 100644 (file)
@@ -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',
index 51798fb..f081747 100644 (file)
@@ -52,7 +52,7 @@
 </div>
 
 [%- IF openurl.enabled == 'true';
-    openurls = []
+    openurls = [];
     FOREACH issn IN args.issns;
         NEXT IF issn == '';
         openurls = openurls.import(ResolverResolver.resolve_issn(issn, openurl.baseurl));