diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2008-11-20 20:54:53 +0300 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2008-11-20 20:54:53 +0300 |
commit | 741effbfb67a48edd2a5c30fd8a54637601fe388 (patch) | |
tree | 408d18d1ba2563a85cbe6f1d6384435309ce5ba4 /core/DataTable/Filter/Pattern.php | |
parent | b06b94fba2c0439b4b543cc96a481409e932ca0a (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.php | 4 |
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); |