[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-924-g8fb122e

Thomas Sibley trs at bestpractical.com
Fri Dec 17 12:21:24 EST 2010


The branch, 3.9-trunk has been updated
       via  8fb122e39edb1434c4c7f18671221f9ca8a2af7c (commit)
      from  60a7ba2782d3d0779c4c4137c19678ae89233b55 (commit)

Summary of changes:
 share/html/Search/Elements/PickCFs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 8fb122e39edb1434c4c7f18671221f9ca8a2af7c
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Dec 17 12:09:49 2010 -0500

    Fix some inverted logic when displaying date/datetime CFs

diff --git a/share/html/Search/Elements/PickCFs b/share/html/Search/Elements/PickCFs
index 5c66c55..bca75c8 100644
--- a/share/html/Search/Elements/PickCFs
+++ b/share/html/Search/Elements/PickCFs
@@ -111,7 +111,7 @@ while ( my $CustomField = $CustomFields->Next ) {
         $line{'Value'} = {
             Type => 'component',
             Path => '/Elements/SelectDate',
-            Arguments => { $is_datetime ? ( ShowTime => 0 ) : (), },
+            Arguments => { $is_datetime ? (ShowTime => 1) : (ShowTime => 0), },
         };
     } else {
         $line{'Value'} = {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list