flesh copy loc. for closer match to unapi
authorberick <berick@esilibrary.com>
Wed, 30 Mar 2011 17:32:19 +0000 (13:32 -0400)
committerberick <berick@esilibrary.com>
Wed, 30 Mar 2011 17:32:19 +0000 (13:32 -0400)
Open-ILS/src/support-scripts/test-scripts/unapi_bench.pl

index 9f4979e..2c6713d 100755 (executable)
@@ -89,8 +89,9 @@ sub direct {
     my $bre_req = $cstore->request(
         'open-ils.cstore.direct.biblio.record_entry.search', 
         {id => \@recs},
-        {flesh => 2, flesh_fields => {bre => ['call_numbers'], acn => ['copies']}}
+        {flesh => 3, flesh_fields => {bre => ['call_numbers'], acn => ['copies'], acp => ['location']}}
         # in practice, ^-- this might be a separate, paged json_query
+        # note, not fleshing copy status since copy statuses will always be cached in the ML
     );
 
     my @data;