order_by fixes including enable_order_by and coerce_order_by
[catagits/Reaction.git] / lib / ComponentUI / Controller / TestModel / Baz.pm
1 package ComponentUI::Controller::TestModel::Baz;
2
3 use base 'Reaction::UI::Controller::Collection::CRUD';
4 use Reaction::Class;
5
6 __PACKAGE__->config(
7   model_name => 'TestModel',
8   collection_name => 'Baz',
9   action => {
10     base => { Chained => '/base', PathPart => 'testmodel/baz' },
11     list => {
12       ViewPort => {
13         enable_order_by => [qw/id name/],
14       },
15     },
16   },
17 );
18
19 1;