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>2008-11-20 20:54:53 +0300
committermattpiwik <matthieu.aubry@gmail.com>2008-11-20 20:54:53 +0300
commit741effbfb67a48edd2a5c30fd8a54637601fe388 (patch)
tree408d18d1ba2563a85cbe6f1d6384435309ce5ba4 /core/DataTable/Filter/Pattern.php
parentb06b94fba2c0439b4b543cc96a481409e932ca0a (diff)
- clearspring export now works. check out widgetize module
git-svn-id: http://dev.piwik.org/svn/trunk@720 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/DataTable/Filter/Pattern.php')
-rw-r--r--core/DataTable/Filter/Pattern.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/DataTable/Filter/Pattern.php b/core/DataTable/Filter/Pattern.php
index aabccd1911..723e918ddc 100644
--- a/core/DataTable/Filter/Pattern.php
+++ b/core/DataTable/Filter/Pattern.php
@@ -34,6 +34,10 @@ class Piwik_DataTable_Filter_Pattern extends Piwik_DataTable_Filter
{
foreach($this->table->getRows() as $key => $row)
{
+ //instead search must handle
+ // - negative search with -piwik
+ // - exact match with ""
+ // see (?!pattern) A subexpression that performs a negative lookahead search, which matches the search string at any point where a string not matching pattern begins.
if( stripos($row->getColumn($this->columnToFilter), $this->patternToSearch) === false)
{
$this->table->deleteRow($key);