fixed: Thingy: thing view screen always displays all fields
This commit is contained in:
parent
837fde209c
commit
48569a5e00
2 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,7 @@
|
||||||
- fixed: Default Thing Name when adding a Thing is Thingy and should be Thing
|
- fixed: Default Thing Name when adding a Thing is Thingy and should be Thing
|
||||||
- fixed: When latest Thing is removed from a Thingy only a drag button is
|
- fixed: When latest Thing is removed from a Thingy only a drag button is
|
||||||
displayed
|
displayed
|
||||||
|
- fixed: Thingy: thing view screen always displays all fields
|
||||||
|
|
||||||
|
|
||||||
7.5.10
|
7.5.10
|
||||||
|
|
|
||||||
|
|
@ -2535,6 +2535,7 @@ thingId=".$self->session->db->quote($thingId));
|
||||||
.$session->db->quote($self->get("assetId")).' and thingId = '.$session->db->quote($thingId).' order by
|
.$session->db->quote($self->get("assetId")).' and thingId = '.$session->db->quote($thingId).' order by
|
||||||
sequenceNumber');
|
sequenceNumber');
|
||||||
while (my %field = $fields->hash) {
|
while (my %field = $fields->hash) {
|
||||||
|
next unless ($field{display} eq '1');
|
||||||
my $hidden = ($field{status} eq "hidden" && !$self->session->var->get("adminOn"));
|
my $hidden = ($field{status} eq "hidden" && !$self->session->var->get("adminOn"));
|
||||||
|
|
||||||
my $originalValue = $thingData{"field_".$field{fieldId}};
|
my $originalValue = $thingData{"field_".$field{fieldId}};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue