Skip to content

Commit

Permalink
hacky fix for advanced search on date >/< then csv export
Browse files Browse the repository at this point in the history
  • Loading branch information
pollen8 committed Feb 11, 2014
1 parent 5edd039 commit 700426d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/com_fabrik/models/list.php
Expand Up @@ -4873,6 +4873,7 @@ public function &getFilterArray()
{
$this->filters['sqlCond'][$i] = 'EXISTS (' . $this->filters['value'][$i] . ')';
}

continue;
}

Expand Down Expand Up @@ -4967,6 +4968,10 @@ public function &getFilterArray()

if ($this->filters['no-filter-setup'][$i] == 1)
{
if (is_a($elementModel, 'PlgFabrik_ElementDate'))
{
$originalValue = str_replace("'", '', $originalValue);
}
$tmpName = $elementModel->getFullName(false, true, false);
$tmpData = array($tmpName => $originalValue, $tmpName . '_raw' => $originalValue);

Expand Down

0 comments on commit 700426d

Please sign in to comment.