Menu

#466 Sort log file lists

closed-fixed
5
2008-03-23
2008-03-23
No

In the edit gedcoms screen, the drop-down lists of log files are unsorted, making selecting a specific one rather time-consuming if you have a lot of files in there. The fix is to sort them - rather trivial.

In the latest SVN (2698) of editgedcoms.php all that is needed is to add:

sort($dir_array);

after lines 295 and 347 (the closedir($dir_var); lines).

Discussion

  • Gerry Kroll

    Gerry Kroll - 2008-03-23

    Logged In: YES
    user_id=1198414
    Originator: NO

    Change was made to editgedcoms.php, but not quite as you suggest. The sort is done _after_ the program determines that the list isn't empty.

    The same change was made to admin.php.

    SVN 2761 for version 4.1.4 (maybe version 4.1.5 if it's too late for version 4.1.4)

     
  • Gerry Kroll

    Gerry Kroll - 2008-03-23
    • assigned_to: nobody --> canajun2eh
    • status: open --> closed-fixed
     

Log in to post a comment.