Project

General

Profile

Bug #25193 ยป 17786.patch

Administrator Admin, 2011-02-27 14:12

View differences:

typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php (revision )
switch ($value['data']['type']) {
case 'list':
if ($value['field'] === 'statevalue') {
$where .= ' AND state IN(' . htmlspecialchars($value['data']['value']) . ')';
$where .= ' AND cache_extensions.state IN(' . htmlspecialchars($value['data']['value']) . ')';
}
if ($value['field'] === 'categoryvalue') {
$where .= ' AND category IN(' . htmlspecialchars($value['data']['value']) . ')';
if ($value['field'] === 'category') {
$where .= ' AND cache_extensions.category IN(' . htmlspecialchars($value['data']['value']) . ')';
}
break;
default:
......
$GLOBALS['TYPO3_DB']->quoteStr($value['data']['value'], 'cache_extensions'),
'cache_extensions'
);
$where .= ' AND ' . htmlspecialchars($value['field']) . ' LIKE "%' . $quotedSearch . '%"';
$where .= ' AND cache_extensions.' . htmlspecialchars($value['field']) . ' LIKE "%' . $quotedSearch . '%"';
}
}
}
    (1-1/1)