Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2011-01-16 01:21:15 +0300
committermattpiwik <matthieu.aubry@gmail.com>2011-01-16 01:21:15 +0300
commit6600d5ad1827b9a419d1714530caf543386286e0 (patch)
tree4b05370beb2c695ab5e68b7182a72e6005a8c166 /plugins/VisitorGenerator
parent55be7a8ad6cdb7b31125e115933cb27db8c81a65 (diff)
Fixes #2022
* Introducing 'priority filters' that can be queued from the Controllers directly, and can remove rows from the DataTable returned from the API. This is for example useful for several Controller views that use a same data source, but are interested in a different subset of this dataset. For example, Exit pages, Entry Pages and Page URLs all use the same DataTable, but Exit pages will only display the rows that have Exits / Exit rate. Therefore they must delete other rows in a filter that is applied before the 'Generic filters' that are Sort, Limit, etc. git-svn-id: http://dev.piwik.org/svn/trunk@3748 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/VisitorGenerator')
-rw-r--r--plugins/VisitorGenerator/Generator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VisitorGenerator/Generator.php b/plugins/VisitorGenerator/Generator.php
index 65ecb911da..f507787e9b 100644
--- a/plugins/VisitorGenerator/Generator.php
+++ b/plugins/VisitorGenerator/Generator.php
@@ -471,7 +471,7 @@ class Piwik_VisitorGenerator_Generator
$deep = mt_rand(0,$this->maximumUrlDepth);
for($i=0;$i<$deep;$i++)
{
- $name = $this->getRandomString(1,1,'alnum');
+ $name = $this->getRandomString(5-$deep,7-$deep,'alnum');
$url .= '/'.$name;
}