Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
V
views
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
3
Merge Requests
3
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
views
Commits
597c8d0d
Commit
597c8d0d
authored
Apr 13, 2007
by
merlinofchaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#135881
: Broken test for visible caused all list fields to disappear.
parent
f7282390
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG.txt
CHANGELOG.txt
+4
-0
views.module
views.module
+1
-1
No files found.
CHANGELOG.txt
View file @
597c8d0d
...
@@ -2,6 +2,10 @@ CHANGELOG for Views for Drupal 5
...
@@ -2,6 +2,10 @@ CHANGELOG for Views for Drupal 5
(Note: Order has been reversed to newest first which is more common.)
(Note: Order has been reversed to newest first which is more common.)
View 5.x-dev
Bugs fixed:
o #135881: Broken test for 'visible' caused all list fields to disappear.
Views 5.x-1.6-beta
Views 5.x-1.6-beta
Highlights:
Highlights:
o #119742: Improved handling of DISTINCT; allow DISTINCT to not kill summaries.
o #119742: Improved handling of DISTINCT; allow DISTINCT to not kill summaries.
...
...
views.module
View file @
597c8d0d
...
@@ -1342,7 +1342,7 @@ function theme_views_view_list($view, $nodes, $type) {
...
@@ -1342,7 +1342,7 @@ function theme_views_view_list($view, $nodes, $type) {
foreach
(
$nodes
as
$node
)
{
foreach
(
$nodes
as
$node
)
{
$item
=
''
;
$item
=
''
;
foreach
(
$view
->
field
as
$field
)
{
foreach
(
$view
->
field
as
$field
)
{
if
(
isset
(
$fields
[
$field
[
'id'
]][
'visible'
])
&&
$fields
[
$field
[
'id'
]][
'visible'
]
!==
FALSE
)
{
if
(
!
isset
(
$fields
[
$field
[
'id'
]][
'visible'
])
&&
$fields
[
$field
[
'id'
]][
'visible'
]
!==
FALSE
)
{
if
(
$field
[
'label'
])
{
if
(
$field
[
'label'
])
{
$item
.
=
"<div class='view-label "
.
views_css_safe
(
'view-label-'
.
$field
[
'queryname'
])
.
"'>"
.
$field
[
'label'
]
.
"</div>"
;
$item
.
=
"<div class='view-label "
.
views_css_safe
(
'view-label-'
.
$field
[
'queryname'
])
.
"'>"
.
$field
[
'label'
]
.
"</div>"
;
}
}
...
...
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