use Moo ();
use Web::Dispatch::Wrapper ();
-our $VERSION = '0.020';
+our $VERSION = '0.026';
sub import {
my ($class, $app_package) = @_;
sub (?page=&order_by~) {
my ($self, $page, $order_by) = @_;
return unless $page =~ /^\d+$/;
- $page ||= 'id';
+ $order_by ||= 'id';
response_filter {
- $_[1]->search_rs({}, $p);
+ $_[1]->search_rs({}, { page => $page, order_by => $order_by });
}
}
Robert Sedlacek (phaylon) <r.sedlacek@shadowcat.co.uk>
+Hakim Cassimally (osfameron) <osfameron@cpan.org>
+
+Karen Etheridge (ether) <ether@cpan.org>
+
=head1 COPYRIGHT
Copyright (c) 2011 the Web::Simple L</AUTHOR> and L</CONTRIBUTORS>