AllenFang / AllenFang/react-bootstrap-table

Less Than (<) is not properly working on DateFilter (Works like Less than or equal to)

Offen
#2,032 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
2.2k
Forks
761
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hello!!
While select < (less than) in Date Filter , it will working as <= (less than or equal to) not as < (less than). Could you resolve it properly? Since it should not affect other type of _numberComparators_ such as '=', '>', '>=','<=', '!='.

I want functionality which should exactly filters the **records** which are **LESS THAN (<)** the given input date.

Also while remove any comparator in Date Filter it is also not working. Kindly solve that too.

**Not Working:**
filter={{
type: 'DateFilter',
numberComparators: ['=', '>', '>=','<=', '!=']
}}

**Working:**
filter={{
type: 'NumberFilter',
numberComparators: ['=', '>', '>=','<=', '!=']
}}

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.