Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FilterBuilder does not default to "Today" for the comparison field when selecting a date/datetime field

    Isomorphic,

    The issue can be reproduced with the showcase example here.

    Select the Nationhood field in the FilterBuilder. The value for the comparison field no longer defaults to "Today" and the N offset item is shown.

    Click image for larger version

Name:	filterbuilder_offset.JPG
Views:	87
Size:	6.6 KB
ID:	269932
    SmartClient Version: v12.1p_2023-03-26/Pro Deployment (built 2023-03-26)

    This was working as expected in the 2023-02-28 build.

    Thanks




    #2
    Thanks for the report - this issue has been fixed for tomorrow's builds, dated April 1 and later.

    Comment


      #3
      Hi Isomorphic,

      I applied the April 1 build and noticed the following issue.

      When I first select a datetime field, it defaults to "Today" as expected now, however, if I then select a different datetime field, it shows the actual value for today.

      Click image for larger version

Name:	filterbuilder_today.JPG
Views:	63
Size:	9.5 KB
ID:	269946
      Thanks

      Comment


        #4
        Thanks - we're taking a look and will update here shortly

        Comment


          #5
          This one's been fixed - FilterBuilders try to retain your entered values where it makes sense, as you switch between fields and operators - but for RelativeDateItems, it was retaining the absolute date only, and not the source relative value.

          Please retest with a build dated April 7 or later.

          Comment


            #6
            Thanks, this is working as expected now.

            Comment

            Working...
            X