Support » Plugin: NanoSupport — Support Ticketing & Knowledgebase for WordPress » Reverse the order of the ticket responses

  • Resolved carllockett3

    (@carllockett3)


    Hello,
    I looked through the topics and didn’t find anything for this. I’m sorry if this is a duplicate.

    This is not a support question, rather a feature request. I would like to have the responses to the ticket in reverse order so the most recent is at the top of the page instead of scrolling down through all responses to get to the newest. I made a temp fix in the file content-single-ticket.php by adding the line $response_array = array_reverse($response_array);

    This is located near the bottom of the file just above the lines:

     foreach( $response_array as $response ) {
    //highlight the latest response on successful submission of new response
    $fresh_response = (isset($_GET['ns_success']) || isset($_GET['ns_cm_success']) ) && $found_count == $counter ? 'new-response' : '';

    Thanks for a great plugin!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Reverse the order of the ticket responses’ is closed to new replies.