removing duplicate check, one less function call
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 27 Dec 2005 18:52:25 +0000 (18:52 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 27 Dec 2005 18:52:25 +0000 (18:52 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2532 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/asset.pm

index d90a39a..0a33b3a 100644 (file)
@@ -171,7 +171,7 @@ sub multiranged_asset_stat_cat {
        my $collector = ' INTERSECT ';
        my $entry_method = 'open-ils.storage.multiranged.intersect.asset.stat_cat_entry.search.stat_cat';
        if ($self->api_name =~ /union/o) {
-               $collector = ' UNION ' if ($self->api_name =~ /union/o);
+               $collector = ' UNION ';
                $entry_method = 'open-ils.storage.multiranged.union.asset.stat_cat_entry.search.stat_cat';
        }