Support » Plugin: Support Hours » Feature request: sorting the list of activities

  • Resolved DonQuicky

    (@donquicky)


    Hi Erik,

    I have a lot of activities listed for one of my clients and it would be comfortable to have the list sortable. For me it would be logical to have the list be sorted on date descending so the latest activity would appear on top of the list.

    Maybe you could add an option in the settings to set the way the list items would be sorted. This is for the backend and for the widget on de dashboard.

    Greets,
    Ivar

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Levdbas

    (@levdbas)

    Hey Ivar,

    What I currently have working is the following. In some cases the ordering of the activities you dialed in could get mixed up. For example if you added three entries. For example:

    14-10-2018 + 10:00 added time
    29-10-2018 – 05:00 second activity
    30-10-2018 – 00:25 first activity

    Now you find out you mixed up entry two and three. I think this happened with your huge list. You now want to correct the date of the third activity to the correct date, for example:

    14-10-2018 + 10:00 added time
    29-10-2018 – 05:00 second activity
    28-10-2018 – 00:25 first activity

    But the order would stay the same right? I now created a function which I haven’t released yet, that does the following. After saving the fields in the admin area, all fields are ordered on date again. This is for the admin/input, widget and overview area.

    14-10-2018 + 10:00 added time
    28-10-2018 – 00:25 first activity
    29-10-2018 – 05:00 second activity

    This way, not only the admin/input area but also the overview and widget are in the correct order once more. I think this fixes your problem and also corrects the display order in the input area as well. Two birds with one stone so to say.

    Please let me know if this does what you’re searching for. If so, I’ll release it in the upcoming week with some other minor changes.

    I will consider sorting options for the overview page in the future. For now, this is a bit too much to tackle besides my normal job. But I’ll keep it on my nice to have list and will keep you posted about that.

    • This reply was modified 2 years, 7 months ago by Levdbas.
    • This reply was modified 2 years, 7 months ago by Levdbas.
    Plugin Author Levdbas

    (@levdbas)

    1.5.2 is now out with ordering of activities based on date on save.

    Thread Starter DonQuicky

    (@donquicky)

    Thanks Erik for the great support you have been giving for your plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feature request: sorting the list of activities’ is closed to new replies.