[Bps-public-commit] rt-extension-assetsql branch, master, updated. 9e2f9107404482751c46c922866858074e5a130d
Shawn Moore
shawn at bestpractical.com
Thu Jun 30 21:41:18 EDT 2016
The branch, master has been updated
via 9e2f9107404482751c46c922866858074e5a130d (commit)
from 26bf22a121d1526f617d31b3cc706006efa93a7a (commit)
Summary of changes:
html/Asset/Search/Elements/BuildFormatString | 3 +++
1 file changed, 3 insertions(+)
- Log -----------------------------------------------------------------
commit 9e2f9107404482751c46c922866858074e5a130d
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Thu Jun 30 21:39:25 2016 -0400
Add Asset CustomDateRanges to display options
diff --git a/html/Asset/Search/Elements/BuildFormatString b/html/Asset/Search/Elements/BuildFormatString
index 54a3191..4272b82 100644
--- a/html/Asset/Search/Elements/BuildFormatString
+++ b/html/Asset/Search/Elements/BuildFormatString
@@ -55,6 +55,9 @@ while ( my $CustomField = $CustomFields->Next ) {
push @fields, "CustomField.{" . $CustomField->Name . "}";
}
+my %ranges = %{ RT->Config->Get('CustomDateRanges')->{'RT::Asset'} || {} };
+push @fields, sort keys %ranges;
+
$m->callback( Fields => \@fields, ARGSRef => \%ARGS );
my ( @seen);
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list