Menu

#13 Extend sort functions

v._0.9.0
open
7
2003-12-29
2003-10-09
No

Hi!
Thanks (again) for a great mod. I was wondering if it is
possible to extend the sort function to also include other
fileds besides first- and last name, i.e. a drop down list
where you choose any of the existing fields to use as a
sort perameter?

Anders

Discussion

  • antonio laurienzo

    Logged In: YES
    user_id=339770

    I am trying to use it for a website of an associations that also
    need to add extra fields or sort associated for city, region,
    state etc...
    Is it possible to modify module or can you add this function?

    thanx and compliments for very nice work!
    tchitchi

     
  • Don Seiler

    Don Seiler - 2003-10-28
    • milestone: 336007 --> 348504
     
  • Don Seiler

    Don Seiler - 2003-10-28
    • assigned_to: nobody --> rizzo
     
  • Don Seiler

    Don Seiler - 2003-11-04

    Logged In: YES
    user_id=61900

    Scheduling for 0.7.0. ETA will probably be a while off so I
    can concentrate on a couple of other modules. Thanks for
    you patience.

     
  • Don Seiler

    Don Seiler - 2003-11-04
    • priority: 5 --> 7
     
  • Don Seiler

    Don Seiler - 2003-12-09
    • milestone: 348504 --> 360330
     
  • Don Seiler

    Don Seiler - 2003-12-29
    • milestone: 360330 -->
     
  • Don Seiler

    Don Seiler - 2003-12-29

    Logged In: YES
    user_id=61900

    I'm thinking this will use a mod_phpwscontacts_sortorder
    table. Each time the sort order is changed, all of the rows
    in _sortorder are dropped and the new order is set. Fields
    will basically be order and colname.

    Is 5 fields a large enough cap for you? Mainly for
    presenting this on the settings screen. I could kick off
    another screen but there are still far too many fields to
    present drop-downs for them all. However I could always
    start with 5 or so and have an "Add Another Field" that
    would submit the fields stored so far into the session and
    present another drop down.

    For now I could just do 5 fields.

     
  • Don Seiler

    Don Seiler - 2003-12-29
    • milestone: --> v._0.9.0
     
  • anders nilsson

    anders nilsson - 2003-12-30

    Logged In: YES
    user_id=847912

    Hi Rizzo!

    5 fields will be perfectly enough. I haven't had time to test it
    out yet, but I am sure it will be perfect. It is mainly
    in "browsemode" where that it is interesting to be able to use
    different sort functions when you have a lot of users.

    Happy New Year!
    Anders

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.