From 51280b0b387b408f5a488d2f0645f93ce58ad8bb Mon Sep 17 00:00:00 2001 From: JT Smith Date: Mon, 2 Oct 2006 17:29:00 +0000 Subject: [PATCH] Rearranged the autotag name creation to be easier to read. --- docs/changelog/7.x.x.txt | 2 ++ lib/WebGUI/VersionTag.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 138b7bb8c..d195efe15 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -10,6 +10,8 @@ reduce the number of database queries and lessen the amount of data being uploaded when images are put in the form. (Martin Kamerbeek / Procolix) - change: PM asset task editor now defaults start date to start of project + - Rearranged the autotag name creation to be easier to read. + 7.0.8 - Fixed a couple of minor bugs with the default values of the Request diff --git a/lib/WebGUI/VersionTag.pm b/lib/WebGUI/VersionTag.pm index a7ed42d30..cc4ebcd27 100644 --- a/lib/WebGUI/VersionTag.pm +++ b/lib/WebGUI/VersionTag.pm @@ -394,7 +394,7 @@ Some text about this version tag, what it's for, why it was committed, why it wa sub set { my $self = shift; my $properties = shift; - $self->{_data}{name} = $properties->{name} || $self->{_data}{name} || "(Autotag) ".$self->session->datetime->epochToHuman()." / ".$self->session->user->username; + $self->{_data}{name} = $properties->{name} || $self->{_data}{name} || $self->session->user->username." / ".$self->session->datetime->epochToHuman()." (Autotag)"; $self->{_data}{workflowId} = $properties->{workflowId} || $self->{_data}{workflowId} || $self->session->setting->get("defaultVersionTagWorkflow"); $self->{_data}{groupToUse} = $properties->{groupToUse} || $self->{_data}{groupToUse} || "12"; if (exists $properties->{comments}) {