Issue 115070 - toolbar sort fails in the presence of a database range
Summary: toolbar sort fails in the presence of a database range
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: 4.1.0-dev
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2010-10-15 02:26 UTC by Joe Smith
Modified: 2013-12-06 12:32 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Sample document showing problem (13.12 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-10-15 02:26 UTC, Joe Smith
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2010-10-15 02:26:06 UTC
If a toolbar sort button is clicked when the current cell is within a defined
database range, the sort should use the settings from the DB range.

It seems that the cell range from the DB range is used, but not the other
settings, specifically, the "Contains column labels" setting.

Instead, the toolbar sort includes the labels in the sort. Further, the sort
updates the DB range, unsetting the labels option and breaking the DB range.

See the attached sample document for a demonstration of the problem.
Comment 1 Joe Smith 2010-10-15 02:26:53 UTC
Created attachment 72054 [details]
Sample document showing problem
Comment 2 Edwin Sharp 2013-12-06 12:32:53 UTC
As described in attachment 72054 [details].

AOO410m1(Build:9750)  -  Rev. 1543812
Win 7