fixing format limited copy counting
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 16 Sep 2005 22:04:09 +0000 (22:04 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 16 Sep 2005 22:04:09 +0000 (22:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1835 dcc99617-32d9-48b4-a31d-7c20da2025e4

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 );