Announcement

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

  • michalg
    replied
    Verified.
    Thank you very much.
    MichalG

    Leave a comment:


  • Isomorphic
    replied
    Thanks for the report - this has been fixed for tomorrow's builds, dated July 11 and later.

    Leave a comment:


  • michalg
    replied
    Hi,
    We just noticed that although date prompt next to field is calculated correctly now, the actual request sent to server is not right.
    If you set criteria like this:
    Click image for larger version

Name:	DateRangeItem preset problem.png
Views:	60
Size:	6.9 KB
ID:	275997
    then request looks like:
    Code:
    ...
        data:{
            operator:"and",
            criteria:[
                {
                    fieldName:"independence",
                    operator:"lessOrEqual",
                    value:"2025-07-31"
                }
            ]
        },
    ...
    and actual search is from end (07/31/2025) of month instead of beginning (07/01/2025) of month.

    Tested on showcase v15.0d (built 2025-07-07)
    Thanks,
    MichalG

    Leave a comment:


  • Isomorphic
    replied
    There's a setting, RelativeDateItem.rangePosition, that causes automatic rounding in a DateRangeDialog, to the start of the unit for the "From" field, and to the end of the unit for the "To" field - that behavior was clobbering the rounding-direction implied by the name of the shortcut.

    We've made a change to address this in builds dated November 22 and later.
    Last edited by Isomorphic; 21 Nov 2019, 01:13.

    Leave a comment:


  • $startOfxxx and $endOfxxx presets of DateRangeItem problem

    Hi,
    We are using those preset variants of DateRangeItem:
    "$startOfWeek",
    "$endOfWeek",
    "$startOfMonth",
    "$endOfMonth",
    "$startOfYear",
    "$endOfYear"
    and have got strange hint values with them.

    If you open showcase example: https://www.smartclient.com/smartcli...ateRangeFilter
    and modify if adding this code at the beginning:
    Code:
    isc.RelativeDateItem.addProperties({
        presetOptions: {
            "$startOfMonth" : "Test startOfMonth"
        }
    });
    and then run it and choose startOfMonth for both from and to fields you will get something like that:
    Click image for larger version  Name:	DateRangeProblem.png Views:	0 Size:	9.1 KB ID:	260074
    Have a look at the hints displayed - shouldn't they be the same for from and to fields?
    Thanks,
    Michalg
Working...
X