Skip to content

Commit

Permalink
replaces start by exact as default datetime filter
Browse files Browse the repository at this point in the history
  • Loading branch information
mmadariaga committed May 24, 2024
1 parent 9e873aa commit 6d1aad4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@irontec/ivoz-ui",
"version": "1.3.7",
"version": "1.3.8",
"description": "UI library used in ivozprovider",
"license": "GPL-3.0",
"main": "index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,12 @@ export default function ContentFilterSelector(
const propertyFilters = filters[firstFilter] || [];

let preferredFilter = currentColumn.preferredFilter || 'partial';

if (!currentColumn.preferredFilter) {
switch (true) {
case isPropertyScalar(currentColumn) &&
currentColumn.format === 'date-time':
preferredFilter = 'start';
preferredFilter = 'exact';
break;
}
}
Expand Down

0 comments on commit 6d1aad4

Please sign in to comment.