fixing format limited copy counting
[working/Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Storage / Publisher / metabib.pm
index fc5c794..f262aa5 100644 (file)
@@ -227,10 +227,13 @@ sub metarecord_copy_count {
 
        my $sth = metabib::metarecord_source_map->db_Main->prepare_cached($sql);
        $sth->execute(  ''.$args{metarecord},
+                       @types, 
+                       @forms,
                        ''.$args{metarecord},
-                       ''.$args{org_unit}, 
                        @types, 
-                       @forms ); 
+                       @forms,
+                       ''.$args{org_unit}, 
+       ); 
 
        while ( my $row = $sth->fetchrow_hashref ) {
                $client->respond( $row );