fix DataForm exportTab field order
This commit is contained in:
parent
1b0a0a477c
commit
f4139a2a81
2 changed files with 4 additions and 1 deletions
|
|
@ -12,6 +12,7 @@
|
|||
- fix: Fixed a bug which caused assets to be uneditable if their edit group
|
||||
had been deleted. (Martin Kamerbeek / Oqapi)
|
||||
- fix: Events don't display on last day of week on week view
|
||||
- fix: Data Form tab delimited export doesn't obey field order
|
||||
|
||||
7.4.6
|
||||
- Prevent Help index from trying to link to non-existant documentation
|
||||
|
|
|
|||
|
|
@ -1147,7 +1147,9 @@ sub www_exportTab {
|
|||
my $self = shift;
|
||||
return $self->session->privilege->insufficient() unless $self->canEdit;
|
||||
$self->session->http->setFilename($self->get("url").".tab","text/plain");
|
||||
my %fields = $self->session->db->buildHash("select DataForm_fieldId,name from DataForm_field where
|
||||
my %fields;
|
||||
tie %fields, 'Tie::IxHash';
|
||||
%fields = $self->session->db->buildHash("select DataForm_fieldId,name from DataForm_field where
|
||||
assetId=".$self->session->db->quote($self->getId)." order by sequenceNumber");
|
||||
my @data;
|
||||
my $entries = $self->session->db->read("select * from DataForm_entry where assetId=".$self->session->db->quote($self->getId));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue