From: Andy Grundman Date: Fri, 26 Aug 2005 01:43:30 +0000 (+0000) Subject: Fixed bug where retrieve_all ignored options such as order_by X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=19e3ec11e0527341c483fff1a79b7f16dc6e15c2;p=dbsrgits%2FDBIx-Class-Historic.git Fixed bug where retrieve_all ignored options such as order_by --- diff --git a/lib/DBIx/Class/CDBICompat/Retrieve.pm b/lib/DBIx/Class/CDBICompat/Retrieve.pm index ef99720..58a39d4 100644 --- a/lib/DBIx/Class/CDBICompat/Retrieve.pm +++ b/lib/DBIx/Class/CDBICompat/Retrieve.pm @@ -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') }