Last change
on this file since 109 was
106,
checked in by peter, 9 years ago
|
#6: Added basic pagination to the bookmarks HTML list view.
|
File size:
349 bytes
|
Rev | Line | |
---|
[71] | 1 | package Bookmarks::Search; |
---|
| 2 | |
---|
| 3 | use Moose; |
---|
| 4 | |
---|
| 5 | has query => (is => 'ro'); |
---|
| 6 | has tags => ( |
---|
| 7 | is => 'ro', |
---|
| 8 | default => sub { [] }, |
---|
| 9 | ); |
---|
| 10 | has limit => (is => 'ro'); |
---|
| 11 | has offset => (is => 'ro'); |
---|
[106] | 12 | has page => (is => 'ro'); |
---|
[71] | 13 | |
---|
[88] | 14 | has results => (is => 'rw', default => sub { [] }); |
---|
[106] | 15 | has pages => ( |
---|
| 16 | is => 'rw', |
---|
| 17 | isa => 'Data::Pageset', |
---|
| 18 | ); |
---|
[88] | 19 | |
---|
[71] | 20 | # module return |
---|
| 21 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.