Commit 849860fb authored by Dries's avatar Dries
Browse files

- Patch #262498 by EugenMayer, DjebbZ: error in content administration using taxonomy filter.

parent 2e9e46a3
......@@ -121,10 +121,6 @@ function node_build_filter_query(SelectQueryInterface $query) {
foreach ($filter_data as $index => $filter) {
list($key, $value) = $filter;
switch ($key) {
case 'term':
$alias = $query->join('taxonomy_index', 'ti', "n.nid = %alias.nid");
$query->condition($alias . '.tid', $value);
case 'status':
// Note: no exploitable hole as $key/$value have already been checked when submitted
list($key, $value) = explode('-', $value, 2);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment