Commit 0170a121 authored by merlinofchaos's avatar merlinofchaos

#130196: (the greenman) Views filters improperly ignored table aliasing.

parent 7905a625
......@@ -31,6 +31,8 @@ Views 4.7.x-dev
o #134703: Fixed problem with validation causing valid values to appear invalid (such as in moderate and sticky filters)
o #134375: (by vhmauery) Postgres fix, adds orderby to groupby if there is already a groupby.
o #127099 (Crell) Fix to views argument handling in RSS that made the RSS feeds fail in panels and viewfield.
o #130139: (simplymenotu) change changelog to top-down format.
o #130196: (the greenman) Views filters improperly ignored table aliasing.
New features:
o #105620: (Attempt 2) allow modules to alter views tables + arguments
......
......@@ -92,7 +92,7 @@ function _views_get_tables($full = false) {
foreach ($table_data as $name => $table) {
if (is_array($table['filters'])) {
foreach ($table['filters'] as $filter => $data) {
$data['table'] = $name;
$data['table'] = $table['name'] ? $table['name'] : $name;
// translate for deprecated APIs...
if ($data['option'] && !is_array($data['option'])) {
if ($data['option'] == 'string' || $data['option'] == 'integer') {
......
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