Sort log file lists
Brought to you by:
canajun2eh,
yalnifj
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).
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)