When sorting, only set found="true" attribute if not a natural order sort.

This commit is contained in:
rjc%netscape.com 1999-11-23 02:27:03 +00:00
parent 84cc491cb1
commit 4fceaba909
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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