| Summary: | Calc Advanced Filter does not work correctly when copying criteria range fields (BASIC code) | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Igor <eeigor> |
| Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | normal | CC: | erack |
| Priority: | medium | ||
| Version: | 7.1.1.2 release | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=143438 | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | Explains the error in detail | ||
|
Description
Igor
2021-03-06 04:42:34 UTC
Created attachment 170260 [details] Explains the error in detail Duplicates the post: https://bugs.documentfoundation.org/show_bug.cgi?id=140613 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 [details] (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? Mike, thank you for your participation and help Not a bug: see tdf#143438 for missing documentation issue. |