Bugzilla – Attachment 9698 Details for
Bug 8128
can't seem to run new sql reports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8128 - Followup - Change default value for cache_expiry
Bug-8128---Followup---Change-default-value-for-cac.patch (text/plain), 865 bytes, created by
Kyle M Hall
on 2012-05-22 12:22:55 UTC
(
hide
)
Description:
Bug 8128 - Followup - Change default value for cache_expiry
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-05-22 12:22:55 UTC
Size:
865 bytes
patch
obsolete
>From a251e5f6e388bc27443039a70010b7c0e37beb7e Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 22 May 2012 08:21:47 -0400 >Subject: [PATCH] Bug 8128 - Followup - Change default value for cache_expiry > >Change default value for cache_expiry from 0 to 300. >--- > C4/Reports/Guided.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm >index c82e995..04b3d53 100644 >--- a/C4/Reports/Guided.pm >+++ b/C4/Reports/Guided.pm >@@ -473,7 +473,7 @@ Returns id of the newly created report > > sub save_report { > my ( $borrowernumber, $sql, $name, $type, $notes, $cache_expiry, $public ) = @_; >- $cache_expiry ||= 0; >+ $cache_expiry ||= 300; > my $dbh = C4::Context->dbh(); > $sql =~ s/(\s*\;\s*)$//; # removes trailing whitespace and /;/ > my $query = >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8128
:
9648
|
9649
|
9650
|
9698
|
9736