gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] Waitlist sort order


From: Jim Busser
Subject: [Gnumed-devel] Waitlist sort order
Date: Thu, 28 Jul 2011 11:05:33 -0700

It looks like the waitlist does not sort at all.

There exists Up / Down buttons to manually shift a waitlist item. On completion 
of the action, however, the item loses focus thus requiring an extra click for 
every additional move, edit etc in spite of this often being the item most 
likely to want another action (activation, another move etc)

What I would suggest ASAP is:

1) the following default waitlist sort order:

        ORDER BY
        clin.waiting_list.area,
        clin.waiting_list.urgency DESC,
        clin.waiting_list.list_position

because it makes sense to have a sort order within zones, not across zones, and 
that urgency (if non-zero) should likely have priority over list position.

I am just not sure how to incorporate the time element

        clin.waiting_list.registered

into a sort order, since it appears that new entries by default get assigned an 
incremented list position, causing the new entries to sort lower in the list. 
But maybe it is enough for the wait time to be visually available to guide (but 
not force) the list order.

2) on completing the move (up / down) and refreshing the screen

        --> re-establish focus on the item just-moved

-- Jim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]