projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01f78cb
)
Searches for companies like sth and not = sth.
author
Stéphane Jacob
<sj@m4x.org>
Fri, 16 Jul 2010 10:00:19 +0000
(12:00 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Fri, 16 Jul 2010 10:10:20 +0000
(12:10 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/userfilter.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/userfilter.php
b/classes/userfilter.php
index
058def4
..
e988793
100644
(file)
--- a/
classes/userfilter.php
+++ b/
classes/userfilter.php
@@
-939,7
+939,7
@@
class UFC_Job_Company implements UserFilterCondition
public function buildCondition(PlFilter &$uf)
{
$sub = $uf->addJobCompanyFilter();
- $cond = $sub . '.' . $this->type .
' = ' . XDB::format('{?}'
, $this->value);
+ $cond = $sub . '.' . $this->type .
XDB::formatWildcards(XDB::WILDCARD_CONTAINS
, $this->value);
return $cond;
}
}