summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2007-04-11 22:46:06 (GMT)
committer Earl Miles2007-04-11 22:46:06 (GMT)
commit0170a121ca2d1b6bd8d05a3e9df9c77d3b4a0cc4 (patch)
tree13040a5b79d52bc87050fa7da95bf73c987aad3e
parent7905a6254e8010377d107caff747c67ff52321a6 (diff)
#130196: (the greenman) Views filters improperly ignored table aliasing.
-rw-r--r--CHANGELOG.txt2
-rw-r--r--views.module2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 70d7540..0f0e5fc 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 8060701..9d6fa2e 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') {