Completed
Last Updated: 13 Oct 2020 18:48 by ADMIN
Release 2020.R3.SP.next
Created by: Bryan Patrick
Comments: 5
Category: Filter
Type: Bug Report
2

Bug report

Filter component operators are always rendered in the initial order, regardless of the specified order

Reproduction of the problem

This code:

.Fields(f =>
      {
          f.Add(p=>p.FirstName).Operators(o =>
                o.String(n =>n
                    .Contains("Contains")
                    .Eq("Is equal to")
                    .Custom("john", c => c.Text("John").Handler("oddNumbersHandler"))
                    )
                );

Renders to this:

Expected/desired behavior
The order of the operators shall be in the predefined order.

Environment
Kendo UI version: [all]
Browser: [all]

Unplanned
Last Updated: 27 Jun 2023 16:19 by Gregory
Created by: Gregory
Comments: 0
Category: Filter
Type: Bug Report
1

Bug report

When a user creates a filter with a date, it starts as an empty Datepicker, but the value is appearing as an empty string. Thus, if the user clicks apply, an error appears in the console. If you place a value in the DatePicker and clear it, the value will be Null.

Reproduction of the problem

  1. Go to this Progress Telerik ASP.NET Core REPL.
  2. Add filter for a Date but keep the datepicker empty.
  3. Select apply.
  4. Now, add a date and clear the value.

Current behavior

The filter menu sends isnull filter queries in the following format:
image

While the Filter component sends it as follows:
image

As a result the ToDataSourceResult method fails.

Expected/desired behavior

If the DatePicker is empty, the filter should properly perform the 'isnull' query upon clicking apply.

Environment

  • Kendo UI version: 2023.2.606
  • jQuery version: All Supported Versions
  • Browser: all