Skip to content

Commit

Permalink
consistent outputs in doc examples
Browse files Browse the repository at this point in the history
  • Loading branch information
wesQ3 committed Mar 9, 2018
1 parent d77c8ee commit 5e11f7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Web/Util/DBIC/Paging.pm
Original file line number Diff line number Diff line change
Expand Up @@ -249,15 +249,15 @@ for a plain hashref.
=head2 C<page_and_sort>
my $result = page_and_sort(c => $c, $c->model('DB::Foo'));
my $result_rs = page_and_sort(c => $c, $c->model('DB::Foo'));
This is a helper method that will first L<sort|/sort_rs> your data and
then L</paginate> it. Valid configuration parameters are documented for each
of those methods.
=head2 paginate
my $result = paginate(c => $c, $c->model('DB::Foo'));
my $result_rs = paginate(c => $c, $c->model('DB::Foo'));
Paginates the passed in resultset based on the following parameters:
Expand Down Expand Up @@ -315,7 +315,7 @@ L</simple_search> instead.
=head2 sort_rs
my $result = sort_rs(c => $c, $c->model('DB::Foo'));
my $result_rs = sort_rs(c => $c, $c->model('DB::Foo'));
Exactly the same as L</search>, except calls C<controller_sort> or L</simple_sort>.
Here is how I use it:
Expand Down Expand Up @@ -365,7 +365,7 @@ Here is how I use it:
=head2 simple_deletion
simple_deletion(c => $c, $c->model('DB::Foo'));
my $deleted_ids = simple_deletion(c => $c, $c->model('DB::Foo'));
Deletes from the passed in resultset based on the sole CGI parameter,
C<to_delete>, which must be a list of primary keys.
Expand Down

0 comments on commit 5e11f7c

Please sign in to comment.