mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +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)
|
||||
{
|
||||
sortColIndex = colIndex;
|
||||
found = PR_TRUE;
|
||||
|
||||
if (!sortDirection.EqualsIgnoreCase("natural"))
|
||||
{
|
||||
found = PR_TRUE;
|
||||
setFlag = PR_TRUE;
|
||||
|
||||
// secondary sort info is optional
|
||||
|
@ -559,10 +559,10 @@ XULSortServiceImpl::GetSortColumnIndex(nsIContent *tree, const nsString &sortRes
|
||||
if (value == sortResource)
|
||||
{
|
||||
sortColIndex = colIndex;
|
||||
found = PR_TRUE;
|
||||
|
||||
if (!sortDirection.EqualsIgnoreCase("natural"))
|
||||
{
|
||||
found = PR_TRUE;
|
||||
setFlag = PR_TRUE;
|
||||
|
||||
// secondary sort info is optional
|
||||
|
Loading…
Reference in New Issue
Block a user