fix: SQLReport no longer paginates or runs nested queries when downloading.Stow's warning when cache is disabled is now a debug message, since that's what debug messages are for.
This commit is contained in:
parent
d584e8ba5e
commit
3ab139e6cc
3 changed files with 7 additions and 3 deletions
|
|
@ -543,8 +543,10 @@ sub _parsePlaceholderParams {
|
|||
# be passed to processTemplate()
|
||||
sub _processQuery {
|
||||
my $self = shift;
|
||||
my $nest = shift || 1;
|
||||
my $page = shift || 1;
|
||||
my $nest = shift;
|
||||
$nest = 1 unless defined $nest;
|
||||
my $page = shift;
|
||||
$page = 1 unless defined $page;
|
||||
my $nr = shift || 1;
|
||||
my ($query, %var, $prefix);
|
||||
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ The value of the stow variable. Any scalar or reference.
|
|||
|
||||
sub set {
|
||||
my $self = shift;
|
||||
$self->session->errorHandler->warn('Stow->set() is being called but cache has been disabled')
|
||||
$self->session->errorHandler->debug('Stow->set() is being called but cache has been disabled')
|
||||
if $self->session->config->get("disableCache");
|
||||
my $name = shift;
|
||||
my $value = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue