disabled limiting until i make it smarter...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Nov 2005 15:18:27 +0000 (15:18 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Nov 2005 15:18:27 +0000 (15:18 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2115 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Search/Authority.pm

index 46837ec..84d76f8 100644 (file)
@@ -55,7 +55,7 @@ sub _auth_flatten {
        }
        my $from = [ sort { $hash{$b} <=> $hash{$a} || $a cmp $b } keys %hash ];
 
-       $from = [ @$from[0..4] ] if $limit;
+#      $from = [ @$from[0..4] ] if $limit;
 
        %hash = ();
        for my $x (@$al) {
@@ -74,7 +74,7 @@ sub _auth_flatten {
        }
        my $also = [ sort { $hash{$b} <=> $hash{$a} || $a cmp $b } keys %hash ];
 
-       $also = [ @$also[0..4] ] if $limit;
+#      $also = [ @$also[0..4] ] if $limit;
 
 
        return { from => $from, also => $also };