Bug 164381 - TABLES: Autofilter won't work with Fields for Time or DateTime
Summary: TABLES: Autofilter won't work with Fields for Time or DateTime
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Database-Tables
  Show dependency treegraph
 
Reported: 2024-12-19 16:52 UTC by Robert Großkopf
Modified: 2024-12-19 18:45 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Open the table and try the behavior of the fields with AutoFilter (4.92 KB, application/vnd.oasis.opendocument.database)
2024-12-19 16:52 UTC, Robert Großkopf
Details
Same with HSQLDB: Only time values couldn't be filtered (3.77 KB, application/vnd.oasis.opendocument.database)
2024-12-19 18:45 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2024-12-19 16:52:47 UTC
Created attachment 198179 [details]
Open the table and try the behavior of the fields with AutoFilter

Open the attached database.
There is only one table.
Open the table for input data.
Set cursor in a field and try AutoFilter.
If setting filter it won't work for fields with Time or DateTime. All other fields will work well.

There seems to be no possibility to filter times by this tool. Also defining a filter by DefaultFilter won't get a filtered result.
Comment 1 raal 2024-12-19 17:03:48 UTC
Confirm with Version: 25.2.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: a49bea44b7989afd850e9a4a56c2c8a0d1a1ff37
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

and Version: 6.4.0.0.alpha1+
Comment 2 Pit Zaclade 2024-12-19 18:28:31 UTC
In my own test in LO 24.2.7.2 (x86-64) (german version) in a table don´t Autofilter works in time (e.g. 07:10:00)
But for datetime (30.12.99 00:00) works fine.
Comment 3 Robert Großkopf 2024-12-19 18:39:08 UTC
(In reply to Pit Zaclade from comment #2)
> In my own test in LO 24.2.7.2 (x86-64) (german version) in a table don´t
> Autofilter works in time (e.g. 07:10:00)
> But for datetime (30.12.99 00:00) works fine.

Please test the attached database file. It is Firebird database. Might be there is a difference to HSQLDB, because DateTime-formats are different there.
Comment 4 Robert Großkopf 2024-12-19 18:45:01 UTC
Created attachment 198182 [details]
Same with HSQLDB: Only time values couldn't be filtered

Seems there are differences between filtering of timestamp between HSQLDB and Firebird. Firebird won't be filtered by AutoFilter, HSQLDB will be filtered.