[Resolved] Sorting Tasks

  • September 15, 2020 at 11:23 am #6733
    s
    swadsworth
    Participant

    osTicket v1.14.3 // osTicket-1.14.3-Awesome-101
    PHP 7.2.24 // MySQL 8.0.17 // Apache/2.4.37 (centos) OpenSSL/1.1.1c web server

    After installing OS ticket awesome. i seem to have lost the button to sort tasks. is that normal? my billing department loves using the server to sort out customers who might need call backs on a given date. I found a work around but how do i get it so they can click a button and sort by due date rather than sorting by date created.

  • September 15, 2020 at 3:18 pm #6735
    stevland
    Keymaster

    @swadsworth,

    I hadn’t noticed that it was missing, but now I see what you mean. Thank you for the report.

    I will look into fixing this, but unfortunately it probably won’t be a quick fix. But I will let you know what I come up with either way.

  • September 15, 2020 at 4:55 pm #6736
    stevland
    Keymaster

    I came up with a fix, and it will be included in the next release.

    I just released the latest version on the weekend, so it may be weeks or even months until the next update.

    But it is actually fairly easy if you want to integrate it yourself.

    Open include\staff\tasks.inc.php and change line 286 from

    <!-- SEARCH FORM START -->
    <div id='basic_search'>
    <!--osta-->

    to 

    <!-- SEARCH FORM START -->
    <div id='basic_search'>
    <div class="pull-right" style="height:25px">
    <span class="valign-helper"></span>
    <?php
    require STAFFINC_DIR.'templates/tasks-queue-sort.tmpl.php';
    ?>
    </div>

    That will return a fully functional Sort button to the page. But it will be a little misaligned.

    For good measure, you can add this to you Theme Options > Custom CSS:

    .tasks-page #content .pull-right .action-button.muted, .action-button.muted[data-dropdown="#sort-dropdown"] {
    top: 4px;
    right: -8px;
    margin: 0;
    }

    Let me know if you have any trouble with these instructions.

  • September 16, 2020 at 10:34 am #6739
    s
    swadsworth
    Participant

    That worked BRILLIANTLY thank you!!!!!

You must be logged in to reply to this topic.

Topic Tags