]> git.pld-linux.org Git - packages/dokuwiki-plugin-data.git/blob - cache-enable.patch
0c3c191547a35dcb86fa0dada207537ac34f7b66
[packages/dokuwiki-plugin-data.git] / cache-enable.patch
1 --- dokuwiki-plugin-data-20160311/syntax/table.php~     2016-11-22 23:08:27.000000000 +0200
2 +++ dokuwiki-plugin-data-20160311/syntax/table.php      2016-11-22 23:08:54.437219264 +0200
3 @@ -245,7 +245,10 @@
4          $sqlite = $this->dthlp->_getDB();
5          if(!$sqlite) return false;
6  
7 -        $R->info['cache'] = false;
8 +        // disable cache only if sorting having some filters
9 +        if ($data['dynfilters'] || !empty($_REQUEST['datasrt']) || !empty($_GET['dataflt']) || !empty($_REQUEST['dataofs'])) {
10 +            $R->info['cache'] = false;
11 +        }
12  
13          //reset counters
14          $this->sums = array();
This page took 0.100469 seconds and 3 git commands to generate.