Menu

#19 Sorting breaks searching

open
nobody
None
5
2001-10-05
2001-10-05
No

When I sort the file and then perform a search (in
the gui) then the search selects the wrong entries
(it does select the right amount of entries, though).

Discussion

  • Jorrit Wiersma

    Jorrit Wiersma - 2001-10-09

    Logged In: YES
    user_id=341698

    I seem to have found the solution, but probably something
    is wrong with it:
    in sub markMatches you have two lines:
    # $selectList[$idx[$LoM[$match][$i]]] = 1;
    $selectList[$LoM[$match][$i]] = 1;

    If I uncomment the first and comment the second then it
    works for me... but you probably commented out the first
    one for a reason...

     
  • tagMacher

    tagMacher - 2004-05-12

    Logged In: YES
    user_id=731544

    This one is present as of version 2.1-2.

     

Log in to post a comment.

MongoDB Logo MongoDB