Remove last inconsequential net changes to Biblio.pm user/senator/qp-latest
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 29 Dec 2011 17:05:21 +0000 (12:05 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 28 Feb 2012 16:36:53 +0000 (11:36 -0500)
Ultimately, there is no need to mess with it in this branch.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm

index 2c3025d..6368787 100644 (file)
@@ -772,7 +772,7 @@ __PACKAGE__->register_method(
         params => [
             {name => 'arghash', desc => 'Arg hash (see open-ils.search.biblio.multiclass)',         type => 'object'},
             {name => 'query',   desc => 'Raw human-readable query (see perldoc '. __PACKAGE__ .')', type => 'string'},
-            {name => 'docache', desc => 'Flag for caching (see open-ils.search.biblio.multiclass)', type => 'bool'}
+            {name => 'docache', desc => 'Flag for caching (see open-ils.search.biblio.multiclass)', type => 'object'},
         ],
         return => {
             desc => 'Search results from query, like: { "count" : $count, "ids" : [ [ $id, $relevancy, $total ], ...] }',
@@ -1165,7 +1165,7 @@ __PACKAGE__->register_method(
             },
             {
                 desc => "A flag to enable/disable searching and saving results in cache, including facets (default OFF)",
-                type => 'bool'
+                type => 'string',
             }
         ],
         return => {
@@ -1262,6 +1262,7 @@ sub staged_search {
             $logger->debug("staged search: found cached results");
             $summary = $data->{summary};
             $results = $data->{results};
+
         } else {
             # retrieve the window of results from the database
             $logger->debug("staged search: fetching results from the database");