]>
Commit | Line | Data |
---|---|---|
a4d4cd54 ER |
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 | ||
147d6c0c | 7 | - $R->info['cache'] = false; |
147d6c0c | 8 | + // disable cache only if sorting having some filters |
7d759b68 | 9 | + if ($data['dynfilters'] || !empty($_REQUEST['datasrt']) || !empty($_GET['dataflt']) || !empty($_REQUEST['dataofs'])) { |
147d6c0c ER |
10 | + $R->info['cache'] = false; |
11 | + } | |
12 | ||
a4d4cd54 ER |
13 | //reset counters |
14 | $this->sums = array(); |