mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
When sorting, only set found="true" attribute if not a natural order sort.
This commit is contained in:
parent
84cc491cb1
commit
4fceaba909
@ -559,10 +559,10 @@ XULSortServiceImpl::GetSortColumnIndex(nsIContent *tree, const nsString &sortRes
|
|||||||
if (value == sortResource)
|
if (value == sortResource)
|
||||||
{
|
{
|
||||||
sortColIndex = colIndex;
|
sortColIndex = colIndex;
|
||||||
found = PR_TRUE;
|
|
||||||
|
|
||||||
if (!sortDirection.EqualsIgnoreCase("natural"))
|
if (!sortDirection.EqualsIgnoreCase("natural"))
|
||||||
{
|
{
|
||||||
|
found = PR_TRUE;
|
||||||
setFlag = PR_TRUE;
|
setFlag = PR_TRUE;
|
||||||
|
|
||||||
// secondary sort info is optional
|
// secondary sort info is optional
|
||||||
|
@ -559,10 +559,10 @@ XULSortServiceImpl::GetSortColumnIndex(nsIContent *tree, const nsString &sortRes
|
|||||||
if (value == sortResource)
|
if (value == sortResource)
|
||||||
{
|
{
|
||||||
sortColIndex = colIndex;
|
sortColIndex = colIndex;
|
||||||
found = PR_TRUE;
|
|
||||||
|
|
||||||
if (!sortDirection.EqualsIgnoreCase("natural"))
|
if (!sortDirection.EqualsIgnoreCase("natural"))
|
||||||
{
|
{
|
||||||
|
found = PR_TRUE;
|
||||||
setFlag = PR_TRUE;
|
setFlag = PR_TRUE;
|
||||||
|
|
||||||
// secondary sort info is optional
|
// secondary sort info is optional
|
||||||
|
Loading…
Reference in New Issue
Block a user