diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 70d754077f78cdb5fd2cf0aa7e6d6190fe241193..0f0e5fcda73a71860874375789767984f25126f9 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/views.module b/views.module index 80607011a2990442e748bc7fbfa51bb4d7785bff..9d6fa2e34b893eb5c2d2232a28d0f464b9ef4bf4 100644 --- a/views.module +++ b/views.module @@ -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') {