[Libreoffice-bugs] [Bug 140836] Calc Advanced Filter does not work correctly when copying criteria range fields (BASIC code)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 6 06:02:54 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=140836

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |erack at redhat.com
     Ever confirmed|0                           |1

--- Comment #2 from Mike Kaganski <mikekaganski at hotmail.com> ---
Repro using Version: 7.1.1.2 (x64) / LibreOffice Community
Build ID: fe0b08f4af1bacafe4c7ecc87ce55bb426164676
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL.

Steps:
1. In attachment 170260 (opened with macros enabled), go to Sheet2
2. Ctrl+Click the "ResetDatabaseRange" hyperlink in L1
3. Ctrl+Click the "RefreshDBRange" hyperlink in L2

=> the "Database" DB range is updated, with non-matching rows filtered out.
Expected: rows 7 to 19 hidden
Actual: only row 19 is hidden

The code that is discussed is lines 41-42 in the "Sub RefreshDBRange()" of the
document macros .

Code pointer: ScTable::CreateQueryParam in sc/source/core/data/table3.cxx,
which uses pFormatter->IsNumberFormat to determine the type of query,
irrespective of the cell format (explicitly textual).

No idea if changing this could result in problems. Eike?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210306/c3641885/attachment.htm>


More information about the Libreoffice-bugs mailing list