]> git.decadent.org.uk Git - maypole.git/commitdiff
don't use deprecated CDBI::ContextualSearch param
authorSimon Cozens <simon@simon-cozens.org>
Wed, 24 Nov 2004 23:28:46 +0000 (23:28 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Wed, 24 Nov 2004 23:28:46 +0000 (23:28 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@290 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole/Model/CDBI.pm

index 618076f3502741dc2c6e2654803e1baeb33ece23..14f2f0b8ca3e6e60751c722ddef578f80996b79f 100644 (file)
@@ -167,7 +167,7 @@ sub search : Exported {
     $r->objects(
         [
             $self->search_where(
-                \%values, ( $order ? { order => $order } : () )
+                \%values, ( $order ? { order_by => $order } : () )
             )
         ]
     );