AllenFang / AllenFang/react-bootstrap-table

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

オープン
#2,032 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
2.2k
フォーク
761
PR マージ指標
30日以内にマージされた PR はありません

説明

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: ['=', '>', '>=','<=', '!=']
}}

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。