Fixed bug where retrieve_all ignored options such as order_by
Andy Grundman [Fri, 26 Aug 2005 01:43:30 +0000 (01:43 +0000)]
lib/DBIx/Class/CDBICompat/Retrieve.pm

index ef99720..58a39d4 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings FATAL => 'all';
 
 sub retrieve          { shift->find(@_)            }
-sub retrieve_all      { shift->search_literal('1') }
+sub retrieve_all      { shift->search_literal('1', @_) }
 sub retrieve_from_sql { shift->search_literal(@_)  }
 
 sub count_all          { shift->count_literal('1')  }