After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 333809 - Autofilter broken
Autofilter broken
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-03-07 22:38 UTC by Daniel Kasak
Modified: 2006-03-09 16:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Small Excel document to demonstrate filter bug (9.50 KB, application/vnd.ms-excel)
2006-03-08 23:38 UTC, Daniel Kasak
Details

Description Daniel Kasak 2006-03-07 22:38:18 UTC
From version 1.4.3 through 1.6.1, the Autofilter function has been broken for numbers stored as text.

I can successfully filter on 'normal' text fields, and also for numeric fields that are detected as numeric ( ie they are right-aligned in the cell, indicating a numeric value ), however numbers stored as text will not filter. When I select the filter combo, and then select a value to filter on, ALL rows are hidden.
Comment 1 Morten Welinder 2006-03-08 15:18:01 UTC
Could you create a sample file, please?
Comment 2 Morten Welinder 2006-03-08 18:30:20 UTC
Excel appears to do a string comparison when a specific item is selected
in a filter.  For example, 1e10 and 10000000000 are considered different,
as-is the strings "0100", "100", and '100.0".
Comment 3 Daniel Kasak 2006-03-08 23:32:12 UTC
Thanks for the quick response :)

Note in the attached file, that if you filter on a column that has string values ( eg the 'Site' column has 'PARRAMATTA' values in it, the filter works correctly.

The 'Duration' column has numeric values ( right-aligned ). Filtering on this column also works.

However, filtering on the 'Number Called' or 'Line' columns makes all rows disappear.
Comment 4 Daniel Kasak 2006-03-08 23:38:29 UTC
Created attachment 60940 [details]
Small Excel document to demonstrate filter bug
Comment 5 Morten Welinder 2006-03-09 16:48:00 UTC
fixed in cvs HEAD.