Last change
on this file since 128 was
106,
checked in by peter, 9 years ago
|
#6: Added basic pagination to the bookmarks HTML list view.
|
File size:
349 bytes
|
Line | |
---|
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'); |
---|
12 | has page => (is => 'ro'); |
---|
13 | |
---|
14 | has results => (is => 'rw', default => sub { [] }); |
---|
15 | has pages => ( |
---|
16 | is => 'rw', |
---|
17 | isa => 'Data::Pageset', |
---|
18 | ); |
---|
19 | |
---|
20 | # module return |
---|
21 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.