Bug-fix-patch-16
Starting count for bug patch so numbered this pacth as 16 (I hope we've commit atleast 15 bug fixes till now) Solved bugs: *While replying on a ticket as an agent subject of a mail is getting changed which results in new mail thread creation in emails. *Ticket title sometimes get replaced by ''(an empty string) because sometimes it fetches last created thread as first row and it my not have the subject/title. So tried to fetch only first row which contains subjetc of the tickets.
This commit is contained in:
@@ -71,7 +71,7 @@ class="active"
|
||||
?> >
|
||||
<td><input type="checkbox" class="icheckbox_flat-blue" name="select_all[]" value="{{$ticket->id}}"/></td>
|
||||
<?php
|
||||
$title = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $ticket->id)->first();
|
||||
$title = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $ticket->id)->orderBy('id')->first();
|
||||
$string = strip_tags($title->title);
|
||||
if (strlen($string) > 40) {
|
||||
$stringCut = substr($string, 0, 40);
|
||||
|
Reference in New Issue
Block a user