Enable filtering by creation date with datepicker (#131)

Enable to filter by date with datepicker
This commit is contained in:
Charles Bochet
2023-05-19 13:17:32 +02:00
committed by GitHub
parent 192b89a7b7
commit 5adc5b833c
7 changed files with 149 additions and 71 deletions

View File

@ -11,6 +11,7 @@ export const fullnameFilter = {
key: 'fullname',
label: 'People',
icon: <FaUser />,
type: 'text',
operands: [
{
label: 'Contains',
@ -41,6 +42,7 @@ export const companyFilter = {
key: 'company_name',
label: 'Company',
icon: <FaBuilding />,
type: 'relation',
searchConfig: {
query: SEARCH_COMPANY_QUERY,
template: (searchString: string) => ({
@ -74,6 +76,7 @@ export const emailFilter = {
key: 'email',
label: 'Email',
icon: <FaEnvelope />,
type: 'text',
operands: [
{
label: 'Contains',
@ -96,6 +99,7 @@ export const cityFilter = {
key: 'city',
label: 'City',
icon: <FaMapPin />,
type: 'text',
operands: [
{
label: 'Contains',