diff options
author | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-05-06 15:58:22 +0000 |
---|---|---|
committer | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-05-06 15:58:22 +0000 |
commit | c1b16a7de0859d507d350fd946abed84ac3683ad (patch) | |
tree | b38c5cee9ef3d37ddba0a4fafab4230a439f4297 /lib/ComponentUI/Controller/TestModel/Baz.pm | |
parent | a6dd5692f77afb88f9aa5a8de13a0519e24a361d (diff) | |
download | reaction-c1b16a7de0859d507d350fd946abed84ac3683ad.tar.gz reaction-c1b16a7de0859d507d350fd946abed84ac3683ad.zip |
order_by fixes including enable_order_by and coerce_order_by
Diffstat (limited to 'lib/ComponentUI/Controller/TestModel/Baz.pm')
-rw-r--r-- | lib/ComponentUI/Controller/TestModel/Baz.pm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/ComponentUI/Controller/TestModel/Baz.pm b/lib/ComponentUI/Controller/TestModel/Baz.pm index f1d7c8b..2fece5a 100644 --- a/lib/ComponentUI/Controller/TestModel/Baz.pm +++ b/lib/ComponentUI/Controller/TestModel/Baz.pm @@ -6,7 +6,14 @@ use Reaction::Class; __PACKAGE__->config( model_name => 'TestModel', collection_name => 'Baz', - action => { base => { Chained => '/base', PathPart => 'testmodel/baz' } }, + action => { + base => { Chained => '/base', PathPart => 'testmodel/baz' }, + list => { + ViewPort => { + enable_order_by => [qw/id name/], + }, + }, + }, ); 1; |