Whoopsie
This commit is contained in:
parent
4bb1e76b8f
commit
7088480a9a
|
@ -44,8 +44,8 @@ sub get_all_threads($self) {
|
||||||
|
|
||||||
sub get_threads_by_page($self, $this_page = 1) {
|
sub get_threads_by_page($self, $this_page = 1) {
|
||||||
my $date_format = %$self{'date_format'};
|
my $date_format = %$self{'date_format'};
|
||||||
my $row_count = $self->{'threads_per_page'};
|
my $row_count = $self->{'threads_per_page'};
|
||||||
my $offset = ($this_page - 1) * $row_count;
|
my $offset = ($this_page - 1) * $row_count;
|
||||||
|
|
||||||
$self->pg->db
|
$self->pg->db
|
||||||
->query(<<~'END_SQL', $date_format, $row_count, $offset)->hashes();
|
->query(<<~'END_SQL', $date_format, $row_count, $offset)->hashes();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user