#19 sorting of users/groups/project/repos

closed
nobody
None
5
2012-09-28
2012-09-27
GlennGould
No

With a bigger number of users/groups/repositories/projects, dropdown-lists and selection fields are easier to use, if stuff inside has some kind of obvious sorting like it's already the case for most of the user-selection lists.

I've started to look through the files and have small patches to add some ORDER BY to sql queries, resulting in ordering for

setAccessRight.php
selectProject.php
workOnGroupAccessRight.php

Patch against rev 215 attached, probably some more to be added, I'll go on with that

Discussion

  • GlennGould
    GlennGould
    2012-09-27

     
    Attachments
  • Thomas Krieger
    Thomas Krieger
    2012-09-27

    One question regarding sort orders. You did notice that clicking in the head of a table column changes the sort order of that column to asc or desc? Maybe this makes the sort order pacthing obsolete?

     
  • GlennGould
    GlennGould
    2012-09-27

    Yes, I noticed the sortable tables - the patches would be for the drop-down menus, mainly when selecting groups/repos/projects for editing. A sorted presentation doesn't matter with a few entries, but is quite helpful if there are lots of them.

     
  • Thomas Krieger
    Thomas Krieger
    2012-09-28

    ok added the pacthes and commited to the current branch.

     
  • GlennGould
    GlennGould
    2012-09-28

    Short update: now all fields and lists I can find in the interface are either sorted, or sortable via the table-columns.

     
  • GlennGould
    GlennGould
    2012-09-28

    updated to current svn branch, everything seems to be fine.

     
  • Thomas Krieger
    Thomas Krieger
    2012-09-28

    • status: open --> closed