Subject: | documentation/code mismatch |
The documentation for the module uses sort_by in multiple examples:
## Tracks on all CDs with the title "Greatest Hits"
@tracks = Music::Track->deep_search_where(
{
’cd.title’ => "Greatest Hits"
},
{
sort_by => ’cd.title’
}
);
However the code itself uses order_by, not sort_by:
49: my $order = ($attr) ? delete($attr->{order_by}) : undef;