Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#74 1.2beta3: sort the catalog list

General
closed
Colin Bell
General (118)
5
2003-08-16
2003-08-15
Anonymous
No

a long list in the catalog combobox is hard to navigate
in the random order my sybase db is returning them.
if this were ordered, it would be much easier.
i'm guessing that this could be easily accomplished
with this change to
net/sourceforge/squirrel_sql/fw/gui/SQLCatalogsComboBox.java:
===
if (catalogs != null)
{
- Map map = new HashMap();
for (int i = 0; i < catalogs.length; ++i)
{
---
if (catalogs != null)
{
+ Map map = new TreeMap();
for (int i = 0; i < catalogs.length; ++i)
{
===

Discussion

  • Colin Bell
    Colin Bell
    2003-08-16

    • assigned_to: nobody --> colbell
    • status: open --> closed
     
  • Colin Bell
    Colin Bell
    2003-08-16

    Logged In: YES
    user_id=233132

    This mod has already been made to CVS. You can see the
    change history (including changes applied to CVS but not
    yet released) at
    http://squirrel-sql.sourceforge.net/index.php?page=changes