AllenFang / AllenFang/react-bootstrap-table

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

Đang mở
#2,032 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
2.2k
Fork
761
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.