Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
805bf779
Commit
805bf779
authored
Aug 14, 2012
by
aspilicious
Committed by
tim.plunkett
Oct 21, 2012
Browse files
fixed taxonomy relationship test
parent
0c88f699
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Views/taxonomy/Plugin/views/relationship/NodeTermData.php
View file @
805bf779
...
...
@@ -71,8 +71,8 @@ function query() {
$def
[
'table'
]
=
'taxonomy_term_data'
;
if
(
!
array_filter
(
$this
->
options
[
'vocabularies'
]))
{
$t
erm_no
de
=
$this
->
query
->
add_table
(
'taxonomy_index'
,
$this
->
relationship
);
$def
[
'left_table'
]
=
'
taxonomy_index
'
;
$t
axonomy_in
de
x
=
$this
->
query
->
add_table
(
'taxonomy_index'
,
$this
->
relationship
);
$def
[
'left_table'
]
=
$
taxonomy_index
;
$def
[
'left_field'
]
=
'tid'
;
$def
[
'field'
]
=
'tid'
;
$def
[
'type'
]
=
empty
(
$this
->
options
[
'required'
])
?
'LEFT'
:
'INNER'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment