fixed #9296: Thingy View template not recognising field_isVisible
This commit is contained in:
parent
d5e9af23e2
commit
a0c6acd257
2 changed files with 6 additions and 0 deletions
|
|
@ -15,6 +15,8 @@
|
||||||
- fixed #8898: versioning problem
|
- fixed #8898: versioning problem
|
||||||
- fixed #9315: Password Recovery
|
- fixed #9315: Password Recovery
|
||||||
- fixed #9298: Inconsistent date formats
|
- fixed #9298: Inconsistent date formats
|
||||||
|
- fixed #9296: Thingy View template not recognising field_isVisible (SDH
|
||||||
|
Consulting Group)
|
||||||
|
|
||||||
7.6.6
|
7.6.6
|
||||||
- fixed #8792: Image Preview gives ERROR in Collateral Manager
|
- fixed #8792: Image Preview gives ERROR in Collateral Manager
|
||||||
|
|
|
||||||
|
|
@ -1048,6 +1048,10 @@ sub getViewThingVars {
|
||||||
"label" => $field{label},
|
"label" => $field{label},
|
||||||
"isHidden" => $hidden,
|
"isHidden" => $hidden,
|
||||||
"url" => $otherThingUrl,
|
"url" => $otherThingUrl,
|
||||||
|
"isVisible" => ($field{status} eq "visible" && !$hidden),
|
||||||
|
"isRequired" => ($field{status} eq "required" && !$hidden),
|
||||||
|
"pretext" => $field{pretext},
|
||||||
|
"subtext" => $field{subtext},
|
||||||
);
|
);
|
||||||
push(@viewScreenTitleFields,$value) if ($field{viewScreenTitle});
|
push(@viewScreenTitleFields,$value) if ($field{viewScreenTitle});
|
||||||
push(@field_loop, { map {("field_".$_ => $fieldProperties{$_})} keys(%fieldProperties) });
|
push(@field_loop, { map {("field_".$_ => $fieldProperties{$_})} keys(%fieldProperties) });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue